JShell: forward references do not work with cross referenced annotation types.

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • tbd
    • Affects Version/s: 9
    • Component/s: tools
    • None

      JShell API: forward references do not work for annotation types.

      To reproduce:
      @Repeatable(TAValues.class)
      @interface TA { int value(); }
      | Modified annotation interface TA, however, it cannot be referenced until class TAValues is declared

      @interface TAValues { TA[] value(); }
      | Modified annotation interface TAValues, however, it cannot be referenced until class TA is declared

            Assignee:
            Robert Field (Inactive)
            Reporter:
            Andrei Eremeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: