RFR  8150162: Move sun.misc.Version to a truly internal package
mandy.chung at oracle.com
Fri Feb 19 18:48:29 UTC 2016
> On Feb 19, 2016, at 9:52 AM, Iris Clark <iris.clark at oracle.com> wrote:
> Hi, Chris.
>>> I'm not the code maintainer, but I'd consider deprecating them.
>> Or just removing them.
Before Verona, sun.misc.Version was generated at build time and was intended to set up the system properties about “java.version”, “java.runtime.version”, “java.runtime.name”. Did Verona change the logic such that this class is no longer needed?
On the other hand, I agree that the static methods getting the version numbers should be removed as they are replaced by the new Version API.
As for the webrev, moving to java.lang as a package-private type is fine. I suggest to rename it to avoid any confusion with the new Version API such as VersionProps (or something better)?
More information about the core-libs-dev