Community
Participate
Working Groups
public class X2 { public static void main(String[] args) { enum Y1 { BLEU, BLANC, ROUGE; public static void main(String[] args) { for(Y1 y: Y1.values()) { System.out.print(y); } } } Y1.main(args); } } I want to refactor rename Y1 to Y2 but it is not possible. Also selecting Y1's declaration doesn't select the other references.
may be related to Bug 570246
Fixed as a result of fix for bug 570248
*** This bug has been marked as a duplicate of bug 570248 ***
Removing the duplicate because this is a JDT UI scenario that needs to be verified. The bug 570248 is jdt core bug.