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

[TESTBUG] runtime/LoadClass/TestResize.java needs to print output when it fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • b17

        On a local test run of all tests in /runtime I got the following failure:

        ----------System.out:(2/734)----------
        Command line: [/export/users/dh198349/jdk-dev/open/test/hotspot/jtreg/../../../../build/linux-x64-debug/images/jdk/bin/java -cp /export/users/dh198349/jdk-dev/open/test/hotspot/jtreg/JTwork/classes/runtime/LoadClass/TestResize.d:/export/users/dh198349/jdk-dev/open/test/hotspot/jtreg/runtime/LoadClass:/export/users/dh198349/jdk-dev/open/test/hotspot/jtreg/JTwork/classes/test/lib:/export/users/dh198349/jdk-dev/open/test/lib:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b12/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b12/binaries/jtreg/lib/jtreg.jar -XX:+PrintSystemDictionaryAtExit TriggerResize 50000 ]
        PASS table_size:1009, classes:1161 OK
        ----------System.err:(14/974)----------
        java.lang.RuntimeException: Load factor too high, expected MAX 5.0, got 467.30841121495325
        at TestResize.analyzeOutputOn(TestResize.java:86)
        at TestResize.main(TestResize.java:104)

        But I have no idea how this came about because the test doesn't report the output from PrintSystemDictionaryAtExit. It should dump all the output before throwing the exception.

              gziemski Gerard Ziemski
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: