frida-java-bridge
frida-java-bridge copied to clipboard
JavaLangObjectType is not correct on array types
In Java, array is also kind of java.lang.Object, but in frida-java-bridge, it's in separated types, and JavaLangObjectType cannot handle array types properly.
Object array cannot be cast to java.lang.Object
As you can see https://github.com/frida/frida-java-bridge/blob/4aa88501d2c6c871ada1c696816ca6f7f2626d7b/lib/types.js#L262 https://github.com/frida/frida-java-bridge/blob/4aa88501d2c6c871ada1c696816ca6f7f2626d7b/lib/types.js#L239
Array is not considered here, that array does not have $h.