Community
Participate
Working Groups
build 20021008 1) create class X. public class X extends Exception { public class Y extends Exception { } } 2) create class Z. public class Z { void foo() { try{ } catch(X.Y e) { } } } 3) select 'Y' in class Z. 4) press F3. code select did not work.
Inside SelectionParser replace : protected void consumeFormalParameter() { if (this.indexOfAssistIdentifier() < 0) { super.consumeFormalParameter(); } else { ... } } by : protected void consumeFormalParameter() { if (this.indexOfAssistIdentifier() < 0) { super.consumeFormalParameter(); if((!diet || dietInt != 0) && astPtr > -1) { Argument argument = (Argument) astStack[astPtr]; if(argument.type == assistNode) { isOrphanCompletionNode = true; this.restartRecovery = true; // force to restart in recovery mode this.lastIgnoredToken = -1; } } } else { ... } } Fixed.
Verified.