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

Hint "implements all abstract method" is not working with record (JDK 14)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • java - Editor
    • 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339

    Description

      Below code snippet throwing null pointer exception while generating override method using hints.

      record MyRecrod(int i) implements Runnable {

      }

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h