Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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).
|