Bug 83161 Can't access public field from private subclass
Since I20050118 this code does not compile anymore. The access to 'publicField' is marked as 'not visible' public class A { private static class PrivateInner { public int publicField; } public static class PublicInner extends PrivateInner { } } class B { void foo(Object o) { A.PublicInner x; int i= ((A.PublicInner)o).publicField; int j= x.publicField; } } Also note the strange error range marked on the assignment to 'i'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
} else if (curr instanceof RemoveDescription) {
				Name node= (Name) exceptions.get(k);
				
				listRewrite.remove(node, null);
				k++;
				
				TagElement tagNode= findThrowsTag(methodDecl, node);
				if (tagNode != null) {
					rewrite.remove(tagNode, null);
				}
			} else if (curr instanceof EditDescription) {
				EditDescription desc= (EditDescription) curr;
				
				Name oldNode= (Name) exceptions.get(k);
				String type= imports.addImport(desc.type);
				ASTNode newNode= ASTNodeFactory.newName(ast, type);
				
				listRewrite.replace(oldNode, newNode, null);
				String key= getExceptionTypeGroupId(i);
				addLinkedPosition(rewrite.track(newNode), false, key);
				
				k++;
				
				TagElement tagNode= findThrowsTag(methodDecl, oldNode);
				if (tagNode != null) {
					ASTNode newRef= ASTNodeFactory.newName(ast, type);
					rewrite.replace((ASTNode) tagNode.fragments().get(0), newRef, null);
					addLinkedPosition(rewrite.track(newRef), false, key);
				}