Relates :
|
The javac test tools/javac/api/T6265137.java uses a hard-coding -target value. The test could be made robust to JDK version changes, meaning it would not need to be updated on version changes, if it created the target argument based on some other version information, such as Runtime.version() or extracted from the SourceVersion enum.
|