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

test/tools/pack200/AttributeTests.java needs to be updated to implement visitMethodParameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • 8
    • 8
    • core-libs

    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)

      Attachments

        Issue Links

          Activity

            People

              ksrini Kumar Srinivasan
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: