JDK-8005630 : test/tools/pack200/AttributeTests.java needs to be updated to implement visitMethodParameters
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-01-01
  • Updated: 2013-01-03
  • Resolved: 2013-01-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
JDK-8004727 added a new method to Attribute.Visitor and it looks like this test was missed. Here's a sample failure.

/Users/aurora/sandbox/testbase/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)
Comments
This issue will be addressed as part of the fix for JDK-8005252
02-01-2013

This is likely to be resolved with the same commit that implements JDK-8004729.
02-01-2013