RFR: 8150680 JarFile.Release enum needs reconsideration with respect to it's values
Steve Drach
steve.drach at oracle.com
Tue Jun 14 23:17:11 UTC 2016
Hi,
Please review the following changeset:
webrev: http://cr.openjdk.java.net/~sdrach/8150680/webrev.00/index.html <http://cr.openjdk.java.net/~sdrach/8150680/webrev.00/index.html>
issue: https://bugs.openjdk.java.net/browse/JDK-8150680 <https://bugs.openjdk.java.net/browse/JDK-8150680>
The issue calls for reconsidering the JarFile.Release enum. A comment in the bug report suggests replacing JarFile.Release with Runtime.Version, and that’s what I did. Specifically I removed the enum, changed the constructor to accept a Runtime.Version object instead of a JarFile.Release object, updated all places in the JDK that invoked the constructor and updated all tests.
Thanks,
Steve
More information about the core-libs-dev
mailing list