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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8
    • 8
    • tools
    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: