United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6843761 Update langtools tests to remove unncessary -source and -target options
JDK-6843761 : Update langtools tests to remove unncessary -source and -target options

Details
Type:
Bug
Submit Date:
2009-05-21
Status:
Closed
Updated Date:
2014-02-08
Project Name:
JDK
Resolved Date:
2011-07-25
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
Unlike most other Java programs, javac regression tests should by default not have a specified -source or -target setting.  That way, by default tests are assumed to be applicable to the next version of Java too, which is usually true.  In specialized cases, tests are -source or -target version specific.

Spurious settings of -source and -target should be purged from the regression tests suite.  This will improve the effectiveness of testing of the repository.

(Explicit -source settings are needed to test new language features in a release when the default source/target is earlier than the latest source/target.)

                                    

Comments
EVALUATION

A fine idea.
                                     
2009-05-21



Hardware and Software, Engineered to Work Together