Lombok: JDK11: illegal access warning

Created on 26 Nov 2018  Â·  6Comments  Â·  Source: projectlombok/lombok

I tried to run mvn clean package and got this. not able to run with jdk 11.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by lombok.javac.apt.LombokProcessor to field com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs
WARNING: Please consider reporting this to the maintainers of lombok.javac.apt.LombokProcessor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

parked

Most helpful comment

Use this lombok version: 1.18.4

All 6 comments

Same issue with above

Use this lombok version: 1.18.4

@nonongodup What version of lombok did you use?

This issue is biting me with lombok 1.18.12 as well. Is there a fix or at least a workaround?

Same here on 1.18.12: edit found new open issue https://github.com/rzwitserloot/lombok/issues/2171

Please try it with 1.18.16

On Thu, Oct 22, 2020, 18:49 Ryan notifications@github.com wrote:

Same here on 1.18.12

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/1962#issuecomment-714623353,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIERMYEDU3DZWW5ODJSQ3SMBPCTANCNFSM4GGOE3PQ
.

Was this page helpful?
0 / 5 - 0 ratings