Relates :
|
|
Relates :
|
|
Relates :
|
This test fails on all platforms since the integration of 8004727: "Add compiler support for parameter reflection", see sample output below. The test fails to compile a dependent class tools/pack200/pack200-verifier/src/xmlkit/ClassReader.java: AttributeVisitor is not abstract and does not override abstract method visitMethodParameters(MethodParameters_attribute,Element) in Visitor class AttributeVisitor implements Attribute.Visitor<Element, Element> 8004727 added visitMethodParameters(MethodParameters_attribute attr, P p) to class Attribute.Visitor, and AttributeVisitor, concrete implementation of an Attribute.Visitor defined in ClassReader.java, need to correctly implement it. This JIRA issue proposes to add tools/pack200/AttributeTests.java to the ProblemList.txt until the issues with the test can be resolved. This will most likely be done through 8005252, "pack200 should support MethodParameters" -------------------------------------------------- TEST: tools/pack200/AttributeTests.java JDK under test: (/opt/jprt/T/P1/170120.chhegar/testproduct/linux_i586_2.6-product) java version "1.8.0-internal" Java(TM) SE Runtime Environment (build 1.8.0-internal-201301021701.chhegar.basicAuth-b00) Java HotSpot(TM) Client VM (build 25.0-b14, mixed mode, sharing) ...... Jan 02, 2013 8:36:09 PM com.sun.java.util.jar.pack.Utils$Pack200Logger info INFO: progress = 87 Jan 02, 2013 8:36:09 PM com.sun.java.util.jar.pack.Utils$Pack200Logger info INFO: Writing 91 8 86 5% Tue Sep 28 13:30:34 UTC 2010 c0410d4b Test.java Jan 02, 2013 8:36:09 PM com.sun.java.util.jar.pack.Utils$Pack200Logger info INFO: progress = 100 Jan 02, 2013 8:36:09 PM com.sun.java.util.jar.pack.Utils$Pack200Logger info INFO: bytes consumed = 1149 STDERR: /opt/jprt/T/P1/170120.chhegar/s/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/ClassReader.java:851: error: AttributeVisitor is not abstract and does not override abstract method visitMethodParameters(MethodParameters_attribute,Element) in Visitor class AttributeVisitor implements Attribute.Visitor<Element, Element> { ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error java.lang.RuntimeException: compilation failed at Utils.compiler(Utils.java:306) at Utils.init(Utils.java:106) at Utils.doCompareBitWise(Utils.java:144) at AttributeTests.test6746111(AttributeTests.java:61) at AttributeTests.main(AttributeTests.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:477) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706) at java.lang.Thread.run(Thread.java:722) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: compilation failed --------------------------------------------------