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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to