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

runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed

XMLWordPrintable

    • b12
    • Verified

      ----------System.err:(33/2219)----------
      java.io.FileNotFoundException: /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+12-401/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/test-classes/cpattr6.mf (No such file or directory)
      at java.base/java.io.FileInputStream.open0(Native Method)
      at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
      at java.base/java.io.FileInputStream.<init>(FileInputStream.java:155)
      at java.base/java.io.FileInputStream.<init>(FileInputStream.java:110)
      at jdk.jartool/sun.tools.jar.Main.run(Main.java:267)
      at JarBuilder.createJar(JarBuilder.java:169)
      at JarBuilder.buildWithManifest(JarBuilder.java:106)
      at ClassPathAttr.buildCpAttr(ClassPathAttr.java:138)
      at ClassPathAttr.testNonExistentJars(ClassPathAttr.java:102)
      at ClassPathAttr.main(ClassPathAttr.java:46)
      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$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)
      java.lang.RuntimeException: jar operation failed
      at JarBuilder.createJar(JarBuilder.java:170)
      at JarBuilder.buildWithManifest(JarBuilder.java:106)
      at ClassPathAttr.buildCpAttr(ClassPathAttr.java:138)
      at ClassPathAttr.testNonExistentJars(ClassPathAttr.java:102)
      at ClassPathAttr.main(ClassPathAttr.java:46)
      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$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: jar operation failed

            iklam Ioi Lam
            xyin Chris Yin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: