RFR (S) : 8025260 : Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)

David Chase david.r.chase at oracle.com
Thu Sep 26 11:13:02 PDT 2013


Whoops, turns out there is a second reason, better than the first,
I think caused by use of a classloader to get the busted bytecodes:

Exception in thread "main" java.lang.IllegalAccessError: class D cannot access its superclass C

So, it will remain separate files.


On 2013-09-26, at 10:25 AM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:

> David,
> 
> Small suggestion about the test: why not make ByteClassLoader, I & C package-private and move them into TestAMEnotNPE.java?
> 
> Best regards,
> Vladimir Ivanov

-------------- 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/20130926/5210aef9/signature.asc 


More information about the hotspot-compiler-dev mailing list