JDK-8207248 : Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-07-13
  • Updated: 2023-01-05
  • Resolved: 2018-07-17
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 11 JDK 12
11.0.19-oracleFixed 12 b03Fixed
Related Reports
Relates :  
Description
Various javac tests have checks for the resource key

compiler.warn.source.no.bootclasspath

which results from using -source/-target without setting the bootclass patch. Such tests are also susceptible to other messages being generated from command line options, such as a notice that source level is obsolete.

To reduce future need to update such tests, if they were modified to pass in -Xlint:-options as appropriate, the no bootclasspath message and other options-related message would be suppressed.
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/babe5786dea9 User: darcy Date: 2018-07-17 04:54:10 +0000
17-07-2018