-
Notifications
You must be signed in to change notification settings - Fork 461
feat: Update and adapt to GraalVM for JDK 23 #2069
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
Conversation
This reverts commit 2fbd4cb.
This reverts commit d355740.
This reverts commit e2c988e.
…d-config-1.x
this is basically not rely on extending TestCase and using @test annotations
This reverts commit 84f3f4f.
…x' of https://github.com/renovate-bot/google-http-java-client into renovate/com.google.cloud-native-image-shared-config-1.x
…x' of https://github.com/renovate-bot/google-http-java-client into renovate/com.google.cloud-native-image-shared-config-1.x
…x' of https://github.com/renovate-bot/google-http-java-client into renovate/com.google.cloud-native-image-shared-config-1.x
…x' of https://github.com/renovate-bot/google-http-java-client into renovate/com.google.cloud-native-image-shared-config-1.x
This reverts commit 73ebee2.
This reverts commit 06acc4a.
…x' of https://github.com/renovate-bot/google-http-java-client into renovate/com.google.cloud-native-image-shared-config-1.x
…is/google-http-java-client into support-graal-jdk-23-ii
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. < 8000 a class="Link--inTextBlock" href="https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment" aria-label="Learn more about hiding disruptive comments">Learn more.
LGTM
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.
thanks for the updates. Please just ensure the test breaking changes make it into release notes.
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.26.0` -> `2.26.1` | | [com.google.http-client:google-http-client-jackson2](https://github.com/googleapis/google-http-java-client) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.45.3` -> `1.46.0` | | [com.google.http-client:google-http-client](https://github.com/googleapis/google-http-java-client) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.45.3` -> `1.46.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.14` -> `2.30.15` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.14` -> `2.30.15` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.14` -> `2.30.15` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.14` -> `2.30.15` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.14` -> `2.30.15` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.14` -> `2.30.15` | --- ### Release Notes <details> <summary>googleapis/java-datastore (com.google.cloud:google-cloud-datastore)</summary> ### [`v2.26.1`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2261-2025-02-05) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.52.0 ([9594024](googleapis/java-datastore@9594024)) ##### Dependencies - Update dependency com.google.cloud:gapic-libraries-bom to v1.51.0 ([#​1726](googleapis/java-datastore#1726)) ([89f31a8](googleapis/java-datastore@89f31a8)) </details> <details> <summary>googleapis/google-http-java-client (com.google.http-client:google-http-client-jackson2)</summary> ### [`v1.46.0`](https://github.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#1460-2025-02-06) ##### Features - Support JDK 23 ([#​2064](googleapis/google-http-java-client#2064)) ([b6a3616](googleapis/google-http-java-client@b6a3616)) - Update and adapt to GraalVM for JDK 23 ([#​2069](googleapis/google-http-java-client#2069)) ([7a0fab3](googleapis/google-http-java-client@7a0fab3)) ##### Dependencies - Update actions/upload-artifact action to v4.6.0 ([#​2056](googleapis/google-http-java-client#2056)) ([1e70d04](googleapis/google-http-java-client@1e70d04)) - Update dependency io.grpc:grpc-context to v1.70.0 ([#​2068](googleapis/google-http-java-client#2068)) ([7a580bf](googleapis/google-http-java-client@7a580bf)) - Update project.appengine.version to v2.0.32 ([#​2065](googleapis/google-http-java-client#2065)) ([2285bb1](googleapis/google-http-java-client@2285bb1)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). GitOrigin-RevId: 9507906cb3cb7366a85164991512d76c540932bf
This PR updates the parent project of this repository "native-image-shared-config" to 1.14.0, which introduces GraalVM for JDK 23. Several adaptations were necessary. All changes listed here:
<scope>provided</scope>
scope flag was removed for some core dependencies. This means that the packaged jars and native images will contain these classes (transitively and statically, respectively).RunWith(JUnit4.class)
--initialize-at-build-time=org.junit.RunWith
. These classes don't go in production code. Thegoogle-http-client-jackson2
module had most ofjackson.core
module initialized at build time only in the test image for simplicity.google-http-client-test
, since it contains test classes in production code, the changes required binary incompatibility changes (added inclirr-ignored-differences.xml
). These changes, although in production code, should not affect jars used by final users since this is just an intermediary test library.<clinit>
messages usingtry-catch
blocks that log class initialization errors. This provides extra information when creating native images.google-http-client-test
had a few tweaks related to upgrading to JUnit4, which made some CLIRR-ignored changes necessary. They will not affect production code since this is a production-level test-only library.