JDK-8226585 : Improve javac messages for using a preview API
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-06-21
  • Updated: 2019-11-12
  • Resolved: 2019-10-21
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 14
14 b20Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Currently, when using a preview API (see JEP 12: JDK-8195734), javac reports deprecation for removal warnings with our without --enable-preview.

This messaging is suboptimal for users.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/ad69fd32778e User: jlahoda Date: 2019-10-21 13:43:00 +0000
21-10-2019

See discussion thread: https://mail.openjdk.java.net/pipermail/compiler-dev/2019-June/013498.html
21-06-2019