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

Type annotations on array dimensions are not picked up by javac

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools

      Description

      Type annotations on array dimensions does not seem to be available during annotation processing. The type of the following field

      @Foo(0) String @Foo(1)[] @Foo(2)[] @Foo(3)[] field;

      is printed as

      @Foo(0) String[][][]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alundblad Andreas Lundblad (Inactive)
                Reporter:
                alundblad Andreas Lundblad (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: