--- old/src/share/classes/javax/naming/CompositeName.java 2011-07-27 17:26:29.257639700 -0700 +++ new/src/share/classes/javax/naming/CompositeName.java 2011-07-27 17:26:28.578571800 -0700 @@ -394,7 +394,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 CompositeName(comps)); } @@ -412,7 +412,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 CompositeName(comps)); } @@ -563,7 +563,7 @@ private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.writeInt(size()); - Enumeration comps = getAll(); + Enumeration comps = getAll(); while (comps.hasMoreElements()) { s.writeObject(comps.nextElement()); }