Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary add-opens compiler configurations #630

Merged
merged 1 commit into from Apr 16, 2024

Conversation

JackPGreen
Copy link
Contributor

When building, the following warning is logged for every module:

[INFO] --- compiler:3.11.0:compile (default-compile) @ data-locality ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 4 source files with javac [debug release 17] to target/classes
[WARNING] --add-opens has no effect at compile time

The add-opens workaround is no longer required with newer versions of Lombok anyway and so should instead be removed.

Tested locally and compiles & tests all pass without this on Java 21.

When building, the following warning is logged for every module:
```
[INFO] --- compiler:3.11.0:compile (default-compile) @ data-locality ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 4 source files with javac [debug release 17] to target/classes
[WARNING] --add-opens has no effect at compile time
```

The `add-opens` workaround is [no longer required with newer versions of Lombok](projectlombok/lombok#2681) anyway and so should instead be removed.
@JackPGreen JackPGreen self-assigned this Apr 16, 2024
@JackPGreen JackPGreen merged commit 7e3eb3d into hazelcast:master Apr 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants