-
Notifications
You must be signed in to change notification settings - Fork 335
Java 15 -> 16 #391
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
Java 15 -> 16 #391
Conversation
Seems
Tried with both Oracle JDK 16 and Azul Zulu 16 - no dice. |
Java 16 is serious about Unsafe deprecations; that's probably why. |
We should probably file this issue on the errorprone repo. |
Remove `--illegal-access=permit` when https://youtrack.jetbrains.com/issue/KT-44624j is fixed.
Fixes: ``` org.springframework.cglib.core.CodeGenerationException: java.lang.IllegalAccessException-->module java.base does not open java.util to unnamed module @2b834e36 at com.google.cloud.spring.data.datastore.core.DatastoreTemplateTests.saveTestNotInterfaceLazy(DatastoreTemplateTests.java:571) Caused by: java.lang.IllegalAccessException: module java.base does not open java.util to unnamed module @2b834e36 at com.google.cloud.spring.data.datastore.core.DatastoreTemplateTests.saveTestNotInterfaceLazy(DatastoreTemplateTests.java:571) ```
If anyone needs to test JDK 16 build locally, here's a useful docker command:
|
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is getting... gnarly.
Do you want to maybe file followup issues to get the datastore reflection fixed, and errorprone removed?
* Update errorprone * Remove Lombok * Fix Kotlin Sample for JDK 16 * Fix Datastore CGLIB usage on JDK 16 * Add --illegal-access=permit to open up internal JDK modules Co-authored-by: Mike Eltsufin <[email protected]>
Bumps [assertj-core](https://github.com/assertj/assertj-core) from 3.19.0 to 3.20.0. - [Release notes](https://github.com/assertj/assertj-core/releases) - [Commits](assertj/assertj@assertj-core-3.19.0...assertj-core-3.20.0) --- updated-dependencies: - dependency-name: org.assertj:assertj-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
No description provided.