This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build 200406291800 In my project have some classes (everyone in a separate .java file), e.g. o2eServerThread and utils. In o2eServerThread there are calls to methods in of utils. All these calls are marked with a red cross at the left and the tooltip says: cannot find symbol symbol: variable utils although all methods of the class utils are declared public static.
Could you provide detailed description of this problem? Or attache example code to reproduce it. Thank you.
In the meantime I have cleared the cache in .netbeans and installed a newer version of Netbeans. At the moment I cannot reproduce it myself. I think that clearing the cache has something to do with it. However, the check seems to be dependent on the compilation of a class. I.e. there is a method m1 declared private in class A. In class B of the same project you type A.m1() and you get the red cross at the left and a tooltip message explaining the reason. This is correct. Then, you change the declaration of m1 in class A from private to public (in the source, not recompiled yet). The red cross in class B remains there. If you type new references to A.m1() in class B, they get the error mark, too. The errors are cleared only after recompile of class A. This is reproduceable. Regards
This is currently how it works. You need to save the file your other file depends on. I.e., if you add a method to file A, you need to save it before this method is visible to other files. I am changing this to an enhancement request to be able to find out about the method even if the source containing it is not saved yet.
Already fixed.