The test is reported to be passing in jtreg, but the log file shows the following error:
[STDERR]
java version "10-internal" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (fastdebug build 10-internal+0-adhoc.iklam.open)
Java HotSpot(TM) 64-Bit Server VM 18.3 (fastdebug build 10-internal+0-adhoc.iklam.open, mixed mode, sharing)
Exception in thread "main" java.lang.RuntimeException: Hello.class shouldn't be in shared space.
at ForNameTest.main(ForNameTest.java:42)
The Hello.class appears in the boot classpath and ForNameTest expects this class to be not loaded from the shared archive.
[STDERR]
java version "10-internal" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (fastdebug build 10-internal+0-adhoc.iklam.open)
Java HotSpot(TM) 64-Bit Server VM 18.3 (fastdebug build 10-internal+0-adhoc.iklam.open, mixed mode, sharing)
Exception in thread "main" java.lang.RuntimeException: Hello.class shouldn't be in shared space.
at ForNameTest.main(ForNameTest.java:42)
The Hello.class appears in the boot classpath and ForNameTest expects this class to be not loaded from the shared archive.