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
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
- relates to
-
JDK-8081796 JShell API: Infinite loop in redeclare by cross reference
-
- Closed
-