Type reference problem [message #756923] |
Tue, 15 November 2011 09:45 |
Eclipse User |
|
|
|
Hi,
I'm seeing a strange problem with JvmTypes. I reference Java types,
methods, and method parameters, and the method return value and
parameter types are usually null. This results in unresolved references.
The strange thing is that once I "touch" the offending line, e.g. by
typing a meaningless space by the error, the type is non-null and the
error marker on that line/reference goes away. If I type a similarly
meaningless space by one of the other errors (of the same kind), the
first error marker reappears and the other error vanishes.
Somehow, it seems the the re-parse is done in a context where the types
are available, but only close to the re-parse. I guess this can happen
with incremental re-parse, but I have no idea what the problem can be.
Obviously, I want the types to be available all the time...
Hallvard
|
|
|
Powered by
FUDForum. Page generated in 0.07228 seconds