Review request for 8025985: com.sun.management.OSMBeanFactory should not be public
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Fri Nov 8 00:39:38 PST 2013
On 2013-11-08 00:40, Mandy Chung wrote:
> com.sun.management API is an exported API [1] except
> com.sun.management.OSMBeanFactory class which is an
> implementation-specific class and it's currently annotated as
> @jdk.Exported(false) [2]. This patch will eliminate one use of
> @jdk.Exported(false).
>
> This is simply refactoring of the existing implementation:
> o remove com.sun.management.OSMBeanFactory
> o move the implementation classes to sun.management including
> - rename com.sun.management.UnixOperatingSystemImpl (or
> OperatingSystem windows version) to sun.management.OperatingSystemImpl
> along with its native implementation
> - sun.management.ManagementFactoryHelper creates the
> sun.management.OperatingSystemImpl instance directly (no need of the
> factory OSMBeanFactory method)
>
> I'm including build-dev as there are changes in the makefiles.
>
> Webrev at:
> http://cr.openjdk.java.net/~mchung/jdk8/webrevs/8025985/webrev.00/
The makefile changes look good.
/Magnus
More information about the serviceability-dev
mailing list