lworld regressions: JNI/JDI

Remi Forax forax at univ-mlv.fr
Thu Jan 3 15:02:48 UTC 2019


Hi al,
i've run my code against the current lworld branch, there are several bugs,
here is the first one.

JDI/JNI has not be updated to use Q-type (so it's not possible to use jshell with a Q-type):
Exception in thread "JDI Internal Event Handler" java.lang.IllegalArgumentException: Invalid JNI signature character 'Q'
	at jdk.jdi/com.sun.tools.jdi.JNITypeParser.nextTypeName(JNITypeParser.java:236)
	at jdk.jdi/com.sun.tools.jdi.JNITypeParser.typeNameList(JNITypeParser.java:140)
	at jdk.jdi/com.sun.tools.jdi.JNITypeParser.typeName(JNITypeParser.java:85)
	at jdk.jdi/com.sun.tools.jdi.TypeImpl.name(TypeImpl.java:43)
	at jdk.jdi/com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:169)
	at jdk.jdi/com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:55)
	at java.base/java.util.TreeMap.put(TreeMap.java:566)
	at java.base/java.util.TreeSet.add(TreeSet.java:255)
	at jdk.jdi/com.sun.tools.jdi.VirtualMachineImpl.addReferenceType(VirtualMachineImpl.java:857)
	at jdk.jdi/com.sun.tools.jdi.VirtualMachineImpl.referenceType(VirtualMachineImpl.java:970)
	at jdk.jdi/com.sun.tools.jdi.EventSetImpl$ClassPrepareEventImpl.<init>(EventSetImpl.java:405)
	at jdk.jdi/com.sun.tools.jdi.EventSetImpl.createEvent(EventSetImpl.java:778)
	at jdk.jdi/com.sun.tools.jdi.EventSetImpl.build(EventSetImpl.java:665)
	at jdk.jdi/com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(EventQueueImpl.java:212)
	at jdk.jdi/com.sun.tools.jdi.EventQueueImpl.removeInternal(EventQueueImpl.java:125)
	at jdk.jdi/com.sun.tools.jdi.InternalEventHandler.run(InternalEventHandler.java:61)
	at java.base/java.lang.Thread.run(Thread.java:835)

Rémi


More information about the valhalla-dev mailing list