You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Sree Harsha (Jira)" <ji...@apache.org> on 2021/03/28 18:15:00 UTC
[jira] [Created] (NETBEANS-5512) Lombok Lazy Getter + NetBeans =
Error parsing file
Sree Harsha created NETBEANS-5512:
-------------------------------------
Summary: Lombok Lazy Getter + NetBeans = Error parsing file
Key: NETBEANS-5512
URL: https://issues.apache.org/jira/browse/NETBEANS-5512
Project: NetBeans
Issue Type: Bug
Reporter: Sree Harsha
Netbeans shows an error/warning when Lombok's {{@Getter}} is used with {{lazy=true}}. This has been first raised here [https://github.com/rzwitserloot/lombok/issues/1696]
Although not confirmed, I think this has been an issue since 8.2. I can confirm this on Netbeans-12.0, and the latest 12.3
As of now I tested this with:
* lombok-1.18.18
* Apache NetBeans IDE 12.3
* Java: 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9
* Runtime: OpenJDK Runtime Environment 11.0.10+9
* System: Linux version 5.10.16-arch1-1 running on amd64; UTF-8; en_US (nb)
* User directory: /home/totakura/.netbeans/12.3
* Cache directory: /home/totakura/.cache/netbeans/12.3
Note the error log in Netbean's cache directory:
{{$ find ~/.cache/netbeans/12.3 -name "*.err"
/home/totakura/.cache/netbeans/12.3/index/s416/errors/1/nb/lombok/lazy/getter/App.java.err
$ cat /home/totakura/.cache/netbeans/12.3/index/s416/errors/1/nb/lombok/lazy/getter/App.java.err
ERROR:11:variable greeting is already defined in class nb.lombok.lazy.getter.App}}
{{}}
I also compiled a sample project to demonstrate this issue. Please open this project in your Netbeans: https://github.com/totakura/nb-lombok-lazy-getter{{}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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