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 07:52:34 UTC

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

rtaneja1 commented on issue #1016: [NETBEANS-586]: NPE findUsages
URL: https://github.com/apache/incubator-netbeans/pull/1016#issuecomment-436903858
 
 
   It's reproducible for nested anonymous class constructor
   Like in AbstractTabDisplayer: 
    fullPathListener = new ChangeListener() {
               @Override
               public void stateChanged( ChangeEvent e ) {
                   SwingUtilities.invokeLater(new Runnable() {
                       @Override
                       public void run() {
                           updateFullPath();
                       }
                   });
               }
           };
   
    [exec] FindUsages cannot resolve
        [exec] class  implements Runnable {
        [exec]
        [exec]     () {
        [exec]         super();
        [exec]     }
        [exec]
        [exec]     @Override()
        [exec]     public void run() {
        [exec]         updateFullPath();
        [exec]     }
        [exec] } ()
   
   This is not reproducible with jdk-12.
   I can try the suggested alternative approach.

----------------------------------------------------------------
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