JDK-6907177 : Update jdk tests to remove unncessary -source and -target options
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-12-03
  • Updated: 2014-02-08
  • Resolved: 2009-12-12
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 7
7 b78Fixed
Related Reports
Relates :  
Relates :  
Description
About 100 regression tests in the JDK 7 jdk repository inappropriately use the "-source" option to compile code to an earlier source level.  Often these directives were created in JDK 5 before the default source level was raised to 5; therefore, such directives were necessary in tests to enable the new language features.  Generally, such directives should be removed so that the latest source level is exercised.

Comments
PUBLIC COMMENTS See http://hg.openjdk.java.net/jdk7/tl/jdk/rev/1755493c5774
04-12-2009

EVALUATION A fine idea.
03-12-2009