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

tools/pack200/ModuleAttributes.java failing in jake

    Details

      Description


      This test needs to be updated to handle the TargetPlatform attribute, otherwise it will fail with:

      Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Class structural comparison failure
      at sun.tools.pack.verify.Main.main(Main.java:157)
      Caused by: java.lang.RuntimeException: Class structural comparison failure
      at sun.tools.pack.verify.ClassCompare.compareClass(ClassCompare.java:142)
      at sun.tools.pack.verify.ClassCompare.compareClass(ClassCompare.java:158)
      at sun.tools.pack.verify.Main.main(Main.java:154)
      ----------System.err:(17/956)----------
      java.lang.RuntimeException: process failed with non-zero exit
      at Utils.runExec(Utils.java:512)
      at Utils.runExec(Utils.java:473)
      at Utils.doCompareVerify(Utils.java:148)
      at Utils.testWithRepack(Utils.java:369)
      at ModuleAttributes.run(ModuleAttributes.java:44)
      at ModuleAttributes.main(ModuleAttributes.java:39)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:804)

        Attachments

          Activity

            People

            • Assignee:
              alanb Alan Bateman
              Reporter:
              alanb Alan Bateman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: