RFR(S) : 8026124 : JSR-292 bug: java.nio.file.Path.toString cores dump

David Chase david.r.chase at oracle.com
Fri Oct 11 21:59:18 PDT 2013

Bug: https://bugs.openjdk.java.net/browse/JDK-8026124
This is almost certainly a duplicate of 8025221 .

Webrev: http://cr.openjdk.java.net/~drchase/8026124/webrev.00/

Executing this Javascript

  var path = new java.io.File("/Users/jfdenise").toPath(); 

caused an assertion failure and crash.
Cause was MemberName constructor (JDK side) passing a 

  boolean  java.nio.file.Path.equals(java.lang.Object)

method reference into CallInfo::CallInfo (Hotspot side).  The
code did not expect to see an interface-owned reference to
an object method (i.e., a vtable reference) and failed an assertion.

Fix: detect this case, assert that the method matches the
corresponding vtable-indexed method in Object, continue 
as a virtual dispatch.

failing code now passes
jtreg of jdk/lambda java/lang/invoke java/util/stream

ute vm.quick.testlist in progress (A/B testing)
jprt of hotspot in progress

Is there any good and easy Nashorn testing?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20131012/b71e2e2e/signature.asc 

More information about the hotspot-compiler-dev mailing list