You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Erik Martino Hansen (JIRA)" <ji...@apache.org> on 2018/09/17 06:15:00 UTC

[jira] [Comment Edited] (NETBEANS-928) Lombok <1.6.22 does not work in Netbeans 9 RC1 (with JDK8)

    [ https://issues.apache.org/jira/browse/NETBEANS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617121#comment-16617121 ] 

Erik Martino Hansen edited comment on NETBEANS-928 at 9/17/18 6:14 AM:
-----------------------------------------------------------------------

I can confirm the bug on 
 Apache NetBeans IDE 9.0 (Build incubator-netbeans-release-334-on-20180708)

Here is a demonstration that works perfectly well in Netbeans 8.2 bug not on 9.0.

[https://github.com/erikmartino/lombokbug]

A `@Value` object with a final field is flagged red in Netbeans 9 bug not in Netbeans 8.2. Compile on save is enabled.


was (Author: xylifyx):
I can confirm the bug on 
Apache NetBeans IDE 9.0 (Build incubator-netbeans-release-334-on-20180708)

Here is a demonstration that works perfectly well in Netbeans 8.2 bug not on 9.0.

A `@Value` object with a final field is flagged red in Netbeans 9 bug not in Netbeans 8.2. Compile on save is enabled.

https://github.com/erikmartino/lombokbug

> Lombok <1.6.22 does not work in Netbeans 9 RC1 (with JDK8)
> ----------------------------------------------------------
>
>                 Key: NETBEANS-928
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-928
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 9.0
>            Reporter: Nicolai Ehemann
>            Priority: Minor
>
> 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),|https://github.com/rzwitserloot/lombok/issues/1435]),] but those all mentioned JDK9, where I am using JDK8...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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