-
Enhancement
-
Resolution: Fixed
-
P4
-
13
-
b10
Dozens of langtools tests are written to have an explicit use of the latest -source or -target value, currently primarily in support of enable preview features where an explicit -source value needs to be passed in to turn on the language feature. (The langtools tests over the years have generally been written or updated to assume the latest source/target and not need an explicit option.)
Needing to update dozens of these tests cause a maintenance hassle when a new release comes around (JDK-8205626), especially as a new release now comes around every six months and a language feature is likely to stay in preview for more than one release cycle (JDK-8214825).
To improve this situation, the tests in question could be refactored to take advantage of the new jtreg capability to pass in named properties in the test definition tags (CODETOOLS-7902352).
Needing to update dozens of these tests cause a maintenance hassle when a new release comes around (
To improve this situation, the tests in question could be refactored to take advantage of the new jtreg capability to pass in named properties in the test definition tags (
- relates to
-
JDK-8219256 Update javac diags tests to use properties
- Resolved
-
JDK-8214825 Update preview language features for start of JDK 13
- Resolved
-
JDK-8205626 Start of release updates for JDK 13
- Resolved
-
JDK-8214546 Start of release updates for JDK 14
- Resolved
-
CODETOOLS-7902352 Support use of ${property.name} in action args
- Resolved