JDK-7079472 : javac: fix order of entering annotations to avoid NPE
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2011-08-15
  • Updated: 2023-12-06
  • Resolved: 2023-12-06
Related Reports
Relates :  
Relates :  
Relates :  
Description
javac does not correctly handle dependencies between annotations. This has caused NPE issues, for which the temporary fix (i.e. workaround) is to ignore unevaluated annotations.

The correct solution is to recognize and handle references between annotations.