Przemysław Sadowski created NETBEANS-2970:
---------------------------------------------
Summary: Lombok not working correctly in NetBeans 11.0 and 11.1
Key: NETBEANS-2970
URL: https://issues.apache.org/jira/browse/NETBEANS-2970
Project: NetBeans
Issue Type: Bug
Affects Versions: 11.1, 11.0
Reporter: Przemysław Sadowski
Attachments: LombokTest.zip, log.zip
Many classes using Lombok in project I'm working on at work fail to be
correctly processed by NetBeans. I narrowed it down to cases in attached exaple
project.
When using Lombok 1.6.22, builder methods are not visible in editor making a
lot of error notes in editor.
When using Lombok 1.8.8, builder method works but there are errors with parsing
some classes, example:
{code:java}
@Builder
public class SomeValueClass {
@Singular
private Map<String, String[]> values;
}{code}
NetBeans fails with exception when trying to parse this class, and this class
is not visible as class to NetBeans (can't open it using "Go To Type" for
example). if I change byte[] to any non-primitive type it works. Using
primitive types (byte, boolean, int) fails.
I'm attaching content of log directory from NetBeans, with bug related dump and
exception in it.
Attached example project seem to be working correctly in NetBeans 8.2.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists