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

Test compiler/aot/verification/ClassAndLibraryNotMatchTest.java fails in JPRT for jdk10/hs

XMLWordPrintable

    • b21
    • Verified

      Pushes through JRPT on the stockholm queue have failed because compiler/aot/cli/jaotc/CompileJarTest.java failed with:

      STDERR:
       stdout: [error opening file: Can't find dependent libraries
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:380)
      at compiler.aot.verification.ClassAndLibraryNotMatchTest.runAndCheckHelloWorld(ClassAndLibraryNotMatchTest.java:108)
      at compiler.aot.verification.ClassAndLibraryNotMatchTest.runTest(ClassAndLibraryNotMatchTest.java:120)
      at compiler.aot.verification.ClassAndLibraryNotMatchTest.main(ClassAndLibraryNotMatchTest.java:63)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:563)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException

      The failure has only been on windows x64.

      Not sure if this is the problem but this test is adding . to the class path but using a ":" separator.

      Arrays.asList("-classpath", Utils.TEST_CLASS_PATH + ":."), null);

            bobv Bob Vandette (Inactive)
            bobv Bob Vandette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: