Community
Participate
Working Groups
I'm sorry, I didn't have a better way to summarize this. I20040324-0010 (GTK2 on KDE, J2SDK 1.4.2_03) 1. Create a new project. 2. Add the following files (I put them in a "test" package): A1.java ------- package test; public class A1 { } class A2 { } ------- B1.java ------- package test; public class B1 { // A1 a1 = new A1(); A2 a = new A2(); } ------- 3. Close A1.java (so that only B1.java is opened up in an editor) 4. Select your project and "Clean" it (Project->Clean) 5. Add/remove a space. At this point, I get red squigglies under A2. 6. Uncomment the A1 line (either by deleting the // or hitting <ctrl-\>. Notice that the red squigglies disappear. 7. Comment-out the A1 line again, the red squigglies should disappear again. 8. Save (<ctrl-s>). The squigglies remain, but no error is in the problems view. I have another scenario almost exactly like this -- the difference is that the error *does* make it to the problems view, but I can't figure out how to reproduce it. (Although it *does* appear every time that I update the .java file from CVS... I'll need to try that too...) I'll attach my compiler settings.
Created attachment 8832 [details] My prefrences Step 7 should read "Notice that the red suigglies *reappear*." These are all of my preferences. Apparently you can't export only the compiler settings, and there is no obvious way to enable the export options ("select preferences", "only from this page").
Daniel, I think this is a dup of what Gred detected.
*** This bug has been marked as a duplicate of 36032 ***