changeset 3446 | 4a07252d2e92 |
parent 1510 | e747d3193ef2 |
child 4156 | acaa49a2768a |
--- a/jdk/src/share/classes/javax/management/openmbean/OpenType.java Wed May 06 15:17:22 2009 +0400 +++ b/jdk/src/share/classes/javax/management/openmbean/OpenType.java Thu May 07 10:44:45 2009 +0200 @@ -304,7 +304,12 @@ * @return the class name. */ public String getClassName() { + return className; + } + // A version of getClassName() that can only be called from within this + // package and that cannot be overridden. + String safeGetClassName() { return className; }