--- old/src/share/classes/javax/naming/CompoundName.java 2011-07-27 17:26:36.073321200 -0700 +++ new/src/share/classes/javax/naming/CompoundName.java 2011-07-27 17:26:35.418255700 -0700 @@ -376,7 +376,7 @@ * If posn is outside the specified range. */ public Name getPrefix(int posn) { - Enumeration comps = impl.getPrefix(posn); + Enumeration comps = impl.getPrefix(posn); return (new CompoundName(comps, mySyntax)); } @@ -396,7 +396,7 @@ * If posn is outside the specified range. */ public Name getSuffix(int posn) { - Enumeration comps = impl.getSuffix(posn); + Enumeration comps = impl.getSuffix(posn); return (new CompoundName(comps, mySyntax)); } @@ -557,7 +557,7 @@ throws java.io.IOException { s.writeObject(mySyntax); s.writeInt(size()); - Enumeration comps = getAll(); + Enumeration comps = getAll(); while (comps.hasMoreElements()) { s.writeObject(comps.nextElement()); }