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

Test compiler/aot/cli/jaotc/CompileJarTest.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: java.net.URISyntaxException: Illegal character in opaque part at index 11: jar:file:C:\jprt\T\T1\175627.bvandett\s\hotspot\testoutput\hotspot_tier1_compiler_1\JTwork\scratch\test.jar!/
      ];
       stderr: []
       exitValue = 4

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

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:380)
      at compiler.aot.cli.jaotc.CompileJarTest.main(CompileJarTest.java:52)
      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
      JavaTest Message: shutting down test

      Both times the failure has been on windows x64.

      This is most likely another URL parsing issue in the jaotc sources that doesn't take Windows path format into consideration.

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

              Created:
              Updated:
              Resolved: