Other |
---|
tbd_majorUnresolved |
Relates :
|
The current impl of javac support for @Deprecated(forRemoval=true) JDK-8145471 relies on analyzing the AST for "forRemoval=true" and as such, requires the specific use of the literal "true", and not a more general constant expression. It would be good to remove this restriction, but doing so will require changing how javac processes @Deprecated annotations. In particular, the generation of any warnings would have to be deferred until after annotations have been analysed.