-
Bug
-
Resolution: Fixed
-
P3
-
9-repo-jigsaw
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)