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

[JVMCI] runtime/CommandLine/TraceExceptionsTest.java fails with: java.lang.RuntimeException: '<a 'java/lang/ClassNotFoundException': NoClassFound>' missing from stdout/stderr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • b110
    • x86
    • linux
    • Verified

      This failure is showing up now that JDK-8144953 is fixed:

      ...
      [0.641s][info][exceptions] Exception <a 'java/lang/ClassNotFoundException'> (0x0000000101cdc178) thrown in compiled method <{method} {0x00007fa778abf720} 'newBundle' '(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/util/ResourceBundle;' in 'java/util/ResourceBundle$Control'> at PC 0x00007fa8c30590fc for thread 0x00007fa8d0025000
      [0.641s][info][exceptions] Thread 0x00007fa8d0025000 continuing at PC 0x00007fa8c305ba4a for exception thrown at PC 0x00007fa8c30590fc
      ];
       stderr: [Error: Could not find or load main class NoClassFound
      ]
       exitValue = 1

      java.lang.RuntimeException: '<a 'java/lang/ClassNotFoundException': NoClassFound>' missing from stdout/stderr

      at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:138)
      at TraceExceptionsTest.main(TraceExceptionsTest.java:41)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

            twisti Christian Thalinger (Inactive)
            twisti Christian Thalinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: