< prev index next >

jdk/src/jdk.management/share/classes/com/sun/management/VMOption.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -23,11 +23,11 @@
  * questions.
  */
 
 package com.sun.management;
 
-import sun.management.VMOptionCompositeData;
+import com.sun.management.internal.VMOptionCompositeData;
 import javax.management.openmbean.CompositeData;
 
 /**
  * Information about a VM option including its value and
  * where the value came from which is referred as its

@@ -239,7 +239,10 @@
             return new VMOption(cd);
         }
 
     }
 
-
+    // for sun.management.MappedMXBeanType
+    static CompositeData toCompositeData(VMOption option) {
+        return VMOptionCompositeData.toCompositeData(option);
+    }
 }
< prev index next >