mbien opened a new pull request, #9210:
URL: https://github.com/apache/netbeans/pull/9210

    - check if element is a record before listing components
    - removed reflective method access
   
   reproducer:
   ```java
   public class GoToInvalidMethodReferenceNPE {
       public static void main(String args[]) {
           ChangeListener listener = GoToInvalidMethodReferenceNPE::invalid;
           //                                                       ^^^^^^^ 
ctrl click (after parsing)
       }
   }
   ```
   
   
   fixes #8735


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

Reply via email to