JDK-8250741 : an annotation interface may not be declared as a local interface
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 15,16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-28
  • Updated: 2020-08-06
  • Resolved: 2020-07-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b09Fixed
Related Reports
CSR :  
Sub Tasks
JDK-8260623 :  
Description
according to: https://cr.openjdk.java.net/~gbierman/jep384/jep384-20200506/specs/local-statics-jls.html#jls-14.3

An annotation interface may not be declared as a local interface. The javac compiler is currently allowing them
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/35ddb4acb1e8 User: vromero Date: 2020-07-31 16:06:36 +0000
31-07-2020