JDK-6395981 : JSR 199: JavaCompilerTool and Tool must specify version of JLS and JVMS
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-03-09
  • Updated: 2020-06-01
  • Resolved: 2006-04-14
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 6
6 b81Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
After 6327885 JavaCompilerTool and Tool will include wording like this:

 * <p>An object implementing this interface must implement the Java
 * Language Specification and generate class files conforming to the
 * Java Virtual Machine specification.  It must support the latest
 * versions of these specifications that are supported by the Java
 * virtual machine in which the object is created.

However, which version of the JLS or JVMS?

One possible solution to this problem is to have a method which returns
a list of supported source versions.

Comments
EVALUATION The JavaCompilerTool could have a method which returns supported language versions which could be used to specify the specific versions of the JLS and JVMS.
17-03-2006