RFR [9] 8150162: Move sun.misc.Version to a truly internal package

Iris Clark iris.clark at oracle.com
Fri Feb 19 17:52:17 UTC 2016


Hi, Chris.

>> I'm not the code maintainer, but I'd consider deprecating them.

> Or just removing them.

Agreed.

iris

-----Original Message-----
From: Chris Hegarty 
Sent: Friday, February 19, 2016 9:43 AM
To: Iris Clark
Cc: core-libs-dev
Subject: Re: RFR [9] 8150162: Move sun.misc.Version to a truly internal package

On 19 Feb 2016, at 17:40, Iris Clark <iris.clark at oracle.com> wrote:

> Hi, Chris.
> 
>> http://cr.openjdk.java.net/~chegar/8150162/
> 
> From a versioning perspective, I think your changes are fine.  

Thanks Iris.

> Regarding the choice of package, I think a package-private class in java.lang is reasonable.  Beyond initialization, I don't see any reason to use this class.  The new jdk.Version API should be used in preference to these *{Major,Minor,Security,...}Version() methods.

Yes, exactly. That was my thought too.

> I'm not the code maintainer, but I'd consider deprecating them.

Or just removing them.

Thanks,
-Chris



More information about the core-libs-dev mailing list