runtime/appcds/ClassLoaderTest.java fails silently

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 11
    • Affects Version/s: 9, 10
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: