Community
Participate
Working Groups
In cases where I hover over fields which are primitive types, the JavaDoc is just displaying the single char representation of the Type, e.g. "Z Main.foo" for a boolean. When hovering over local types, I am seeing the type in the Hover, e.g. "boolean Main.bar()". I think the JavaDoc should always try to show the type, especially since it is not quite clear to read a "boolean" out of "Z". Ben
Martin, I quess that happens now for resolved field declarations in JavaElementLabels. I enabled the code after JDT/Core has fixed the bug. We should indeed render boolean here not Z.
Note that this happens for all primitive types (e.g. "D" for "double"). Possible connection: Bug #97206 Ben
The bug is in jdt.core. The signature returned here is 'LZ;' public class B { boolean fBoolean; { fBoolean= true; // hover over 'fBoolean' } }
+1 for RC2
*** Bug 97399 has been marked as a duplicate of this bug. ***
Changed BindingKeyParser and its subclasses to handle base types separately from other types (see consumeBaseType(char[]) ). Added regression test BindingKeyTest#test039()
*** Bug 98476 has been marked as a duplicate of this bug. ***
Verified in N20050606-0010
Verified for 3.1 RC2 using build I20050610-0010