Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8196121

runtime/appcds/ClassLoaderTest.java fails silently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 9, 10
    • hotspot
    • b07

      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.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: