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

Alan Bateman Alan.Bateman at oracle.com
Wed Mar 2 12:02:15 UTC 2016


On 01/03/2016 16:38, Chris Hegarty wrote:
> 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
>
Looks okay to me.

-Alan.



More information about the core-libs-dev mailing list