This fixes a few differences that occur when comparing Sun against Classpath.
Changelog:
2006-08-05 Andrew John Hughes <[EMAIL PROTECTED]>
* javax/management/MBeanFeatureInfo.java:
Make string variable package-private.
* javax/management/StandardMBean.java:
(getMBeanInterface()): Made final.
* javax/management/openmbean/SimpleType.java:
Made final.
--
Andrew :-)
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }
Index: javax/management/MBeanFeatureInfo.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/management/MBeanFeatureInfo.java,v
retrieving revision 1.4
diff -u -3 -p -u -r1.4 MBeanFeatureInfo.java
--- javax/management/MBeanFeatureInfo.java 29 Jul 2006 21:44:53 -0000
1.4
+++ javax/management/MBeanFeatureInfo.java 5 Aug 2006 12:24:51 -0000
@@ -79,7 +79,7 @@ public class MBeanFeatureInfo
/**
* The <code>toString()</code> result of this instance.
*/
- protected transient String string;
+ transient String string;
/**
* Constructs a new [EMAIL PROTECTED] MBeanFeatureInfo} with the specified
Index: javax/management/StandardMBean.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/management/StandardMBean.java,v
retrieving revision 1.2
diff -u -3 -p -u -r1.2 StandardMBean.java
--- javax/management/StandardMBean.java 29 Jul 2006 21:44:53 -0000 1.2
+++ javax/management/StandardMBean.java 5 Aug 2006 12:24:51 -0000
@@ -679,7 +679,7 @@ public class StandardMBean
*
* @return the management interface.
*/
- public Class getMBeanInterface()
+ public final Class getMBeanInterface()
{
return iface;
}
Index: javax/management/openmbean/SimpleType.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/management/openmbean/SimpleType.java,v
retrieving revision 1.1
diff -u -3 -p -u -r1.1 SimpleType.java
--- javax/management/openmbean/SimpleType.java 9 Jul 2006 20:02:03 -0000
1.1
+++ javax/management/openmbean/SimpleType.java 5 Aug 2006 12:24:51 -0000
@@ -53,7 +53,7 @@ import java.io.ObjectStreamException;
* @author Andrew John Hughes ([EMAIL PROTECTED])
* @since 1.5
*/
-public class SimpleType
+public final class SimpleType
extends OpenType
{
signature.asc
Description: Digital signature
