nmatt commented on issue #8985:
URL: https://github.com/apache/netbeans/issues/8985#issuecomment-3500047161
@mbien: Thanks, I tried out the test build. The exception is fixed, but the
results display is a bit broken. I changed the example to:
```java
enum Example
{
FOO,
BAR(),
BAZ() { };
Example() { }
}
```
In the Call Hierarchy result (see below), the constant names are missing for
subclass constants. Expanding the "()" node also shows nothing further.
In the Find Usages result, the internal symbol caching is faulty, displaying
the previous identifier "CONSTANT" that I had edited (and saved the changes).
When removing the parentheses after "BAR", the "CONSTANT" moves down to "BAZ"
in the Find Usages results.
Find Usages:
<img width="201" height="131" alt="Image"
src="https://github.com/user-attachments/assets/b0c05a41-8c0b-4460-a22e-8c9fd6d36170"
/>
Call Hierarchy:
<img width="186" height="76" alt="Image"
src="https://github.com/user-attachments/assets/10b987bc-581c-42e5-a8b4-78a1c5cb4537"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists