You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reflection does not work as expected. This is a minimal repro based on a bug found in a project that used the java based Rhino JavaScript engine.
public static void testToString() throws Exception {
String test = "test";
test.getClass().getMethod("toString").invoke(test);
}
Unhandled Exception: System.MissingMethodException: Method not found: '?'.
at __<FastMethodAccessor>__java_lang_String__toString(Object , Object[] , CallerID )
at IKVM.Java.Externs.sun.reflect.ReflectionFactory.FastMethodAccessorImpl.invoke(Object obj, Object[] args, CallerID callerID)
at java.lang.reflect.Method.invoke(Object obj, Object[] args, CallerID )
at testikvm.Main.testToString() in Main.java:line 10
at Program.Main(String[] args) in d:\opensource\testikvm\ConsoleApp1\Program.cs:line 7
Reflection does not work as expected. This is a minimal repro based on a bug found in a project that used the java based Rhino JavaScript engine.
Here is a test project:
testikvm.zip
Use
Reproduced with latest version 8.11.0-pre.2 - this works with winward and older jeroen versions.
The text was updated successfully, but these errors were encountered: