RFR [9] 8150976: JarFile and MRJAR tests should use the JDK specific Version API

Chris Hegarty chris.hegarty at oracle.com
Tue Mar 1 16:38:54 UTC 2016


Currently JarFile and MRJAR tests use sun.misc.Version to retrieve the major
runtime version. They should be updated to use the new JDK specific Version
API. 

Note: There is an issue, 8144062 [1], to revisit the JDK specific Version API to
determine if it should be moved, or even standardized. The changes being
proposed here may need to be updated, in a trivial way, in the future, but this
issue is intending to break the dependency on sun.misc.Version so that
8150162 [2] can make progress. Additionally, the future refactoring will most
likely be trivial. 

http://cr.openjdk.java.net/~chegar/8150976/
https://bugs.openjdk.java.net/browse/JDK-8150976

-Chris.

[1] https://bugs.openjdk.java.net/browse/JDK-8144062
[2] https://bugs.openjdk.java.net/browse/JDK-8150162


More information about the core-libs-dev mailing list