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

new of type-annotated generic inner class fail in CheckAttributedTree test

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      tools/javac/failover/CheckAttributedTree.java
      fails for type annotation on new statement for generic inner class ('null' found in tree) using jsr308 builds.

      Run test on test/tools/javac/typeAnnotations/newlocations/NestedTypes.java.
      It fails on statement
      @A Outer . @B GInner<@C Objectx> f3 = f1.new @B GInner<@C Object> ();
                                                    ^
                                                  here

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ssides Steve Sides
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: