United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8010179 Remove transitional target values from javac
JDK-8010179 : Remove transitional target values from javac

Details
Type:
Enhancement
Submit Date:
2013-03-15
Status:
Closed
Updated Date:
2014-01-28
Project Name:
JDK
Resolved Date:
2013-03-19
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
The -target option of javac has supported a number of "transitional" values

* 1.4.2 (results in 48.0 class files with different code generation behavior)
* 1.4.1 (results in 48.0 class files with different code generation behavior)
* jsr14 (results in 48.0 class files with generics information)

The time has come for these transitional options to be transitioned out of the set of recognized targets.
                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/a4913ea9bb62
User:  darcy
Date:  2013-03-19 20:11:01 +0000

                                     
2013-03-19
Draft release notes text - JDK scope, behavioral change:
Recognition of the undocumented target values "1.4.1", "1.4.2" and "jsr14" have been removed from javac. The "1.4.1" and "1.4.2" targets used more up-to-date code generation idioms than than "1.4". The combination of options "-source 1.4 -target 1.5" will use those newer idioms, but also output a more recent class file format. The "jsr14" option was a transitional private option for when generics were first being added to the platform. Now generics should be compiled with a target of 1.5 or higher.
                                     
2013-03-19
URL:   http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/a4913ea9bb62
User:  lana
Date:  2013-04-02 17:38:19 +0000

                                     
2013-04-02



Hardware and Software, Engineered to Work Together