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

2018-09-17 Thread Erik Martino Hansen (JIRA)


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

Erik Martino Hansen commented on NETBEANS-928:
--

Version 1.18.2 seems to work fine. The editor and the tree doesn't show errors. 
1.18.0 the tree shows errors but not the editor. So the workaround must be, 
upgrade to 1.18.2.

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-09-17 Thread Erik Martino Hansen (JIRA)


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

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

{{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not 
run during this compilation: java.lang.IllegalArgumentException: 
org.netbeans.modules.java.source.parsing.ProxyFileManager extends 
java.lang.Object implements javax.tools.JavaFileManager}}
{{ at 
lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}}
{{ at 
lombok.javac.apt.InterceptingJavaFileManager.(InterceptingJavaFileManager.java:40)}}
{{ at 
lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}}
{{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}}
{{ at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}}
{{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}}
{{ at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}}


was (Author: xylifyx):
I managed to get this stack trace

{{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not 
run during this compilation: java.lang.IllegalArgumentException: 
org.netbeans.modules.java.source.parsing.ProxyFileManager extends 
java.lang.Object implements javax.tools.JavaFileManager}}
{{ at 
lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}}
{{ at 
lombok.javac.apt.InterceptingJavaFileManager.(InterceptingJavaFileManager.java:40)}}
{{ at 
lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}}
{{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}}
{{ at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}}
{{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}}
{{ at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}}

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-09-17 Thread Erik Martino Hansen (JIRA)


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

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

{noformat}
lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not run 
during this compilation: java.lang.IllegalArgumentException: 
org.netbeans.modules.java.source.parsing.ProxyFileManager extends 
java.lang.Object implements javax.tools.JavaFileManager
at lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)
at 
lombok.javac.apt.InterceptingJavaFileManager.(InterceptingJavaFileManager.java:40)
at 
lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)
at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)
at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...{noformat}


was (Author: xylifyx):
{{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not 
run during this compilation: java.lang.IllegalArgumentException: 
org.netbeans.modules.java.source.parsing.ProxyFileManager extends 
java.lang.Object implements javax.tools.JavaFileManager}}
{{ at 
lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}}
{{ at 
lombok.javac.apt.InterceptingJavaFileManager.(InterceptingJavaFileManager.java:40)}}
{{ at 
lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}}
{{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}}
{{ at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}}
{{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}}
{{ at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}}

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-09-17 Thread Erik Martino Hansen (JIRA)


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

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

I managed to get this stack trace

{{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not 
run during this compilation: java.lang.IllegalArgumentException: 
org.netbeans.modules.java.source.parsing.ProxyFileManager extends 
java.lang.Object implements javax.tools.JavaFileManager}}
{{ at 
lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}}
{{ at 
lombok.javac.apt.InterceptingJavaFileManager.(InterceptingJavaFileManager.java:40)}}
{{ at 
lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}}
{{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}}
{{ at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}}
{{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}}
{{ at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}}


was (Author: xylifyx):
I managed to get this stack trace

{{```}}
{{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not 
run during this compilation: java.lang.IllegalArgumentException: 
org.netbeans.modules.java.source.parsing.ProxyFileManager extends 
java.lang.Object implements javax.tools.JavaFileManager}}
{{ at 
lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}}
{{ at 
lombok.javac.apt.InterceptingJavaFileManager.(InterceptingJavaFileManager.java:40)}}
{{ at 
lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}}
{{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}}
{{ at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}}
{{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}}
{{ at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}}
{{```}}

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-09-17 Thread Erik Martino Hansen (JIRA)


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

Erik Martino Hansen commented on NETBEANS-928:
--

I managed to get this stack trace

{{```}}
{{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not 
run during this compilation: java.lang.IllegalArgumentException: 
org.netbeans.modules.java.source.parsing.ProxyFileManager extends 
java.lang.Object implements javax.tools.JavaFileManager}}
{{ at 
lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}}
{{ at 
lombok.javac.apt.InterceptingJavaFileManager.(InterceptingJavaFileManager.java:40)}}
{{ at 
lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}}
{{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}}
{{ at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}}
{{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}}
{{ at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)}}
{{ at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}}
{{```}}

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-09-17 Thread Erik Martino Hansen (JIRA)


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

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

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

Here is a small Maven projejct that 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.

[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.

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-09-17 Thread Erik Martino Hansen (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2018-09-17 Thread Erik Martino Hansen (JIRA)


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

Erik Martino Hansen commented on NETBEANS-928:
--

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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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