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

Type annotations on array dimensions are not picked up by javac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 9
    • 9
    • tools

      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[][][]

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

              Created:
              Updated:
              Resolved: