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

Test tools/javac/classfiles/InnerClasses/SyntheticClasses.java fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      generic
    • OS:
      linux_oracle_6.0, windows_7
    • Verification:
      Verified

      Backports

        Description

        Testsuite name: Regression / Langtools
        Test name: tools/javac/classfiles/InnerClasses/SyntheticClasses.java
        JDK tested: JDK 9 b07
        OS tested: Windows 7 32 bit and 64 bit

        Test fail against JDK9 all builds. No this test in 8u5 b13 repo.

        LOG:

        java.lang.IllegalStateException: Invalid outer_class_info_index=1; inner_name_index=0.
                at SyntheticClasses.run(SyntheticClasses.java:62)
                at SyntheticClasses.main(SyntheticClasses.java:39)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:483)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
                at java.lang.Thread.run(Thread.java:745)

        Also fails with

        com.sun.tools.classfile.ConstantPool$InvalidEntry: unexpected tag at #1: 108
        at com.sun.tools.classfile.ConstantPool.<init>(ConstantPool.java:231)
        at com.sun.tools.classfile.ClassFile.<init>(ClassFile.java:82)
        at com.sun.tools.classfile.ClassFile.read(ClassFile.java:58)
        at com.sun.tools.classfile.ClassFile.read(ClassFile.java:47)
        at SyntheticClasses.run(SyntheticClasses.java:45)
        at SyntheticClasses.main(SyntheticClasses.java:39)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:744)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlahoda Jan Lahoda
                Reporter:
                kshefov Konstantin Shefov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: