United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6479385 Make SourceVersion.latestSupported() work when run unbundled
JDK-6479385 : Make SourceVersion.latestSupported() work when run unbundled

Details
Type:
Bug
Submit Date:
2006-10-06
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
core-libs
OS:
generic
Sub-Component:
javax.annotation.processing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports

Sub Tasks

Description
The SourceVersion enum has two related methods, latest() and latestSupported().  The former return the latest source version that can be modeled; the latter returns the "latest source version fully supported by the current execution environment."  For example, if the jsr269-JDK7.jar were run on top of JKD6 the results should be

latest(): RELEASE_7
latestSupported() RELEASE_6

while both method should return RELEASE_7 if run on JDK7.

                                    

Comments
EVALUATION

Should be fixed.
                                     
2006-10-06
SUGGESTED FIX

See attached tar-ball and

http://sa.sfbay.sun.com/projects/langtools_data/dolphin/6479385.0
                                     
2006-11-07



Hardware and Software, Engineered to Work Together