Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4414

Feature "find usage" is not working for RECORD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0
    • None
    • java - Editor
    • Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
      Runtime: OpenJDK Runtime Environment 14+36-1461

    Description

      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.

      Attachments

        1. FindUsage.png
          265 kB
          Akhilesh Singh

        Activity

          People

            Unassigned Unassigned
            singh-akhilesh Akhilesh Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: