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

Lombok <1.6.22 does not work in Netbeans 9 RC1 (with JDK8)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.0
    • None
    • None
    • None

    Description

      I recently installed Netbeans 9 RC1 on my Windows 10 PC with JDK 1.8.172. When creating a minimal maven project with Lombok dependency <1.16.22, and adding a simple class with lombok annotations, the generated methods are not picked up by netbeans (they do not show up in navigator and are not recognised in editor). For example, when I add a final field and @RequiredArgsConstructor, the field is marked as "not initialized in default constructor". As soon as I change the lombok version to 1.16.22 or 1.18.0, it works as expected.

       

      I'm not 100% sure this is a netbeans issue, as I already found similar issued for lombok (for example https://github.com/rzwitserloot/lombok/issues/1435),),] but those all mentioned JDK9, where I am using JDK8...

      Attachments

        Activity

          People

            Unassigned Unassigned
            McNetic Nicolai Ehemann
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: