JAOTC in JDK 10: kicking the tyres

dean.long at oracle.com dean.long at oracle.com
Mon Nov 20 19:06:10 UTC 2017


On 11/20/17 10:43 AM, Andrew Haley wrote:

> On 20/11/17 18:34, dean.long at oracle.com wrote:
>> I think you want --module java.base here.  I guess jaotc doesn't support
>> .jmod files.
> Aha!  Yes, that seems to be much better, thanks.
>
> It still doesn't work, but oh well:
>
> Error: Failed compilation: sun.net.www.protocol.jrt.Handler.openConnection(Ljava/net/URL;)Ljava/net/URLConnection;: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: java.lang.ExceptionInInitializerError
> 	at parsing java.base/sun.net.www.protocol.jrt.Handler.openConnection(Handler.java:42)
>
> If this isn't expected to fail I'll report it as a bug.
>
There are problem methods listed in 
test/hotspot/jtreg/compiler/aot/scripts/java.base-list.txt and also on 
http://openjdk.java.net/jeps/295.  So please try with --compile-commands 
java.base-list.txt first and if it still fails then please file a bug.

dl


More information about the hotspot-dev mailing list