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

compiler/aot/calls/fromInterpreted/InterpretedInvokeDynamic2AotTest.java fail due to missed tools

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows

      Description

      Exception in thread "main" java.lang.InternalError: Can't locate Microsoft Visual Studio amd64 link.exe
      at jdk.aot/jdk.tools.jaotc.Linker.<init>(Linker.java:94)
      at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:128)
      at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:101)
      at jdk.aot/jdk.tools.jaotc.Main.main(Main.java:80)

      ----------System.err:(24/1453)----------
      artifact resolution error: java.io.FileNotFoundException: Failed to resolve the artifact @jdk.test.lib.artifacts.Artifact(classifier="", unpack=true, organization="jpg.infra.builddeps", name="devkit-windows_x64", revision="VS2013SP4+1.0", extension="tar.gz")
       stdout: [Exception in thread "main" java.lang.InternalError: Can't locate Microsoft Visual Studio amd64 link.exe
      at jdk.aot/jdk.tools.jaotc.Linker.<init>(Linker.java:94)
      at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:128)
      at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:101)
      at jdk.aot/jdk.tools.jaotc.Main.main(Main.java:80)
      ];
       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.AotCompiler.main(AotCompiler.java:79)
      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:564)
      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

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                yzhou Daisy Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: