Created
May 16, 2014 02:20
-
-
Save deathcap/89be2b006ba1b381e837 to your computer and use it in GitHub Desktop.
doppio GH-313 TypeError: Cannot call method 'map' of undefined at Method.java_lang_Class.getInterfaces()[Ljava/lang/Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logs for https://github.com/plasma-umass/doppio/issues/313 | |
natives_refactor 71190b58be6dd63f17f2d8dc9c5305ce9bf7f9e4 | |
doppio $ ./doppio-dev classes/test/CustomClassLoader2 | |
Loading Dog... | |
Loading class classes.test.Dog | |
Finding class classes.test.Dog | |
Defining class classes.test.Dog | |
Registering class classes.test.Dog | |
isAssignableFrom = false | |
Found class. Returning. | |
Dog's methods | |
Loading class java.lang.String | |
Finding class java.lang.String | |
Couldn't get the class ourselves! | |
Getting the system class. | |
TypeError: Cannot call method 'map' of undefined | |
at Method.java_lang_Class.getInterfaces()[Ljava/lang/Class; [as code] (eval at <anonymous> (/Users/admin/games/voxeljs/doppio/build/dev-cli/src/jvm.ts:296:17), <anonymous>:151:33) | |
at code (/Users/admin/games/voxeljs/doppio/build/dev-cli/src/methods.ts:284:22) | |
at NativeStackFrame.run (/Users/admin/games/voxeljs/doppio/build/dev-cli/src/threading.ts:233:37) | |
at JVMThread.run (/Users/admin/games/voxeljs/doppio/build/dev-cli/src/threading.ts:568:31) | |
at JVMThread.setStatus (/Users/admin/games/voxeljs/doppio/build/dev-cli/src/threading.ts:652:16) | |
at Object._onImmediate (/Users/admin/games/voxeljs/doppio/build/dev-cli/src/threading.ts:393:24) | |
at processImmediate [as _immediateCallback] (timers.js:330:15) | |
master 927371e330b3a759b4eb7157df6102fc38df2ff3 | |
doppio $ ./doppio-dev classes/test/CustomClassLoader2 | |
Loading Dog... | |
Loading class classes.test.Dog | |
Finding class classes.test.Dog | |
Defining class classes.test.Dog | |
Loading class classes.test.Speakable | |
Finding class classes.test.Speakable | |
Defining class classes.test.Speakable | |
Loading class java.lang.Object | |
Finding class java.lang.Object | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Registering class classes.test.Speakable | |
isAssignableFrom = false | |
Found class. Returning. | |
Loading class classes.test.Animal | |
Finding class classes.test.Animal | |
Defining class classes.test.Animal | |
Registering class classes.test.Animal | |
isAssignableFrom = false | |
Found class. Returning. | |
Registering class classes.test.Dog | |
isAssignableFrom = false | |
Found class. Returning. | |
Dog's methods | |
Loading class java.lang.String | |
Finding class java.lang.String | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Method: dontUse | |
Method: equals | |
Method: getClass | |
Method: hashCode | |
Method: notify | |
Method: notifyAll | |
Method: speak | |
Method: toString | |
Method: wait | |
Method: wait | |
Method: wait | |
Getting Dog's interfaces... | |
There are 1 interfaces! | |
Interface: classes.test.Speakable | |
Method: speak | |
Now let's resolve dog... | |
There are 1 interfaces! | |
Interface: classes.test.Speakable | |
Method: speak | |
Super class: classes.test.Animal | |
Method: dontUse | |
Method: equals | |
Method: getClass | |
Method: hashCode | |
Method: notify | |
Method: notifyAll | |
Method: toString | |
Method: wait | |
Method: wait | |
Method: wait | |
Loading class classes.test.CatchBootstrapExceptions | |
Finding class classes.test.CatchBootstrapExceptions | |
Defining class classes.test.CatchBootstrapExceptions | |
Registering class classes.test.CatchBootstrapExceptions | |
isAssignableFrom = false | |
Found class. Returning. | |
Loading class java.lang.Throwable | |
Finding class java.lang.Throwable | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class classes.test.CustomClassLoader2$CustomException | |
Finding class classes.test.CustomClassLoader2$CustomException | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class java.lang.Character | |
Finding class java.lang.Character | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class java.io.IOException | |
Finding class java.io.IOException | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Obtained catcher Method. | |
Loading class java.lang.System | |
Finding class java.lang.System | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class java.io.PrintStream | |
Finding class java.io.PrintStream | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Starting catcher | |
Loading class classes.test.CustomClassLoader2 | |
Finding class classes.test.CustomClassLoader2 | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Caught exception originating in bootstrap-loaded code. | |
Loading class classes.test.CatchBootstrapExceptions2 | |
Finding class classes.test.CatchBootstrapExceptions2 | |
Defining class classes.test.CatchBootstrapExceptions2 | |
Registering class classes.test.CatchBootstrapExceptions2 | |
isAssignableFrom = false | |
Found class. Returning. | |
Loading class classes.test.CustomClassLoader2$CustomException2 | |
Finding class classes.test.CustomClassLoader2$CustomException2 | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Caught another exception originating in bootstrap-loaded code. | |
Oracle JVM - identical output as doppio master | |
doppio $ java -version | |
java version "1.7.0_17" | |
Java(TM) SE Runtime Environment (build 1.7.0_17-b02) | |
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) | |
doppio $ java classes/test/CustomClassLoader2 | |
Loading Dog... | |
Loading class classes.test.Dog | |
Finding class classes.test.Dog | |
Defining class classes.test.Dog | |
Loading class classes.test.Speakable | |
Finding class classes.test.Speakable | |
Defining class classes.test.Speakable | |
Loading class java.lang.Object | |
Finding class java.lang.Object | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Registering class classes.test.Speakable | |
isAssignableFrom = false | |
Found class. Returning. | |
Loading class classes.test.Animal | |
Finding class classes.test.Animal | |
Defining class classes.test.Animal | |
Registering class classes.test.Animal | |
isAssignableFrom = false | |
Found class. Returning. | |
Registering class classes.test.Dog | |
isAssignableFrom = false | |
Found class. Returning. | |
Dog's methods | |
Loading class java.lang.String | |
Finding class java.lang.String | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Method: dontUse | |
Method: equals | |
Method: getClass | |
Method: hashCode | |
Method: notify | |
Method: notifyAll | |
Method: speak | |
Method: toString | |
Method: wait | |
Method: wait | |
Method: wait | |
Getting Dog's interfaces... | |
There are 1 interfaces! | |
Interface: classes.test.Speakable | |
Method: speak | |
Now let's resolve dog... | |
There are 1 interfaces! | |
Interface: classes.test.Speakable | |
Method: speak | |
Super class: classes.test.Animal | |
Method: dontUse | |
Method: equals | |
Method: getClass | |
Method: hashCode | |
Method: notify | |
Method: notifyAll | |
Method: toString | |
Method: wait | |
Method: wait | |
Method: wait | |
Loading class classes.test.CatchBootstrapExceptions | |
Finding class classes.test.CatchBootstrapExceptions | |
Defining class classes.test.CatchBootstrapExceptions | |
Registering class classes.test.CatchBootstrapExceptions | |
isAssignableFrom = false | |
Found class. Returning. | |
Loading class java.lang.Throwable | |
Finding class java.lang.Throwable | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class classes.test.CustomClassLoader2$CustomException | |
Finding class classes.test.CustomClassLoader2$CustomException | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class java.lang.Character | |
Finding class java.lang.Character | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class java.io.IOException | |
Finding class java.io.IOException | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Obtained catcher Method. | |
Loading class java.lang.System | |
Finding class java.lang.System | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Loading class java.io.PrintStream | |
Finding class java.io.PrintStream | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Starting catcher | |
Loading class classes.test.CustomClassLoader2 | |
Finding class classes.test.CustomClassLoader2 | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Caught exception originating in bootstrap-loaded code. | |
Loading class classes.test.CatchBootstrapExceptions2 | |
Finding class classes.test.CatchBootstrapExceptions2 | |
Defining class classes.test.CatchBootstrapExceptions2 | |
Registering class classes.test.CatchBootstrapExceptions2 | |
isAssignableFrom = false | |
Found class. Returning. | |
Loading class classes.test.CustomClassLoader2$CustomException2 | |
Finding class classes.test.CustomClassLoader2$CustomException2 | |
Couldn't get the class ourselves! | |
Getting the system class. | |
Caught another exception originating in bootstrap-loaded code. | |
doppio $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment