Community
Participate
Working Groups
Type the following code: public static void main(String argv[]) { JButton b = new JButton(); int x = 1; int y = 2; There will be icons in the left margin complaining about unused vairables (oh yea, that would obviously need to be turned on.) now type int z = The icons dissaper ... int z = 3; The icons appear again. They should not disappear and reappear like this.
Some problems are not report by J Core when there are compile errors. I agree that in such cases the UI is noisy.
*** Bug 45747 has been marked as a duplicate of this bug. ***
When code has syntax errors, like when you are in the middle of editing it, it will prevent further analysis like the one diagnosing unused locals. No action planned.