Akhilesh Singh created NETBEANS-4414:
----------------------------------------

             Summary: Feature "find usage" is not working for RECORD
                 Key: NETBEANS-4414
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4414
             Project: NetBeans
          Issue Type: Bug
          Components: java - Editor
    Affects Versions: 12.0
         Environment: 
Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
            Reporter: Akhilesh Singh
         Attachments: FindUsage.png

Steps to reproduce:

1.Create any Record. e.g. 

public record RecordMain() {
 public static void main(String ar[]){
 System.out.println("hw");
 }

}

2. Select record name "RecordMain" then Right click on the editor and select 
Find Usage

 

Actual Output:

Throwing exception : java.lang.ClassCastException:

Expected Output:

Should find the usage of record, if not found show empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to