Index: model/org/eclipse/jdt/internal/core/util/Util.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java,v retrieving revision 1.71 diff -u -r1.71 Util.java --- model/org/eclipse/jdt/internal/core/util/Util.java 28 Jul 2005 16:33:23 -0000 1.71 +++ model/org/eclipse/jdt/internal/core/util/Util.java 22 Aug 2005 15:21:28 -0000 @@ -1318,9 +1318,13 @@ /* * Returns the simple name of a local type from the given binary type name. - * The last '$' is at lastDollar. The ;last character of the type name is at end-1. + * The last '$' is at lastDollar. The last character of the type name is at end-1. */ public static String localTypeName(String binaryTypeName, int lastDollar, int end) { + if (lastDollar > 0 && binaryTypeName.charAt(lastDollar-1) == '$') + // local name starts with a dollar sign + // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=103466) + return binaryTypeName; int nameStart = lastDollar+1; while (nameStart < end && Character.isDigit(binaryTypeName.charAt(nameStart))) nameStart++;