You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/11/08 06:55:22 UTC

[GitHub] jlahoda commented on issue #1016: [NETBEANS-586]: NPE findUsages

jlahoda commented on issue #1016: [NETBEANS-586]: NPE findUsages
URL: https://github.com/apache/incubator-netbeans/pull/1016#issuecomment-436892113
 
 
   So, this will mean some usages won't be found (more or less silently), which does not feel right. I tried a few simple cases (including the platform/core.multitabs), although on a dev build of JDK 12, and didn't see the problem. So I wonder what is the reproducible testcase, so that we can find out what's the issue.
   
   I believe it should be possible to re-write the search for the constructor to only work over trees (basically, do classTree.getMembers() and search for the constructor); it might be tricky to determine which of the members is the constructor, but should be possible. (TreeUtilities.isSynthetic in the worst case). Besides for potentially fixing this bug, it might also be somewhat faster.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists