I'm using NetBeans IDE 6.9 (Build 201006101454), and wrote this simple Java class (that doesn't do anything):
public class SomeClass {
int someInt;
}
The variable "someInt" shows up in green. When I highlight and hover over it, a tool tip box appears that says:
someInt = >"someInt" is not a known variable in the current context.<
I'm not sure what the error means, but it sounds like I'm using a variable outside of its scope -- but that can't be, because I'm just declaring it here.
The problem does not seem to affect any programs I run, but it's annoying. And I worry that it might be a warning that I did something wrong. I found this similar issue in a previous NetBeans release, but I'm not sure if it's related.
Can anyone tell me if this should worry me, or comfort me by confirming this is just a NetBeans bug?