Type annotations on array dimensions are not picked up by javac

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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[][][]

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

              Created:
              Updated:
              Resolved: