Review request for 8025985: com.sun.management.OSMBeanFactory should	not be public
    Mandy Chung 
    mandy.chung at oracle.com
       
    Thu Nov  7 23:40:59 UTC 2013
    
    
  
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/
thanks
Mandy
[1] 
http://download.java.net/jdk8/docs/jre/api/management/extension/index.html
[2] http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2ea162b2ff55
    
    
More information about the build-dev
mailing list