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

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Thu Sep 26 11:31:56 PDT 2013


Yeah, now I see. It loads I & C using application class loader and only 
D & T are loaded by ByteClassLoader.

Best regards,
Vladimir Ivanov

On 9/26/13 10:13 PM, David Chase wrote:
> 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

More information about the hotspot-compiler-dev mailing list