Skip to content

Skip JDK 25 metadata schema check on macOS x64 - #888

Merged
jvukicev merged 1 commit into
masterfrom
skip-jdk25-macos-x64-schema-validation
May 8, 2026
Merged

jvukicev merged 1 commit into
masterfrom
skip-jdk25-macos-x64-schema-validation

Conversation

@jvukicev

@jvukicev jvukicev commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #887.

Native Build Tools 1.0.0+ validates the reachability metadata schema against the schema bundled in GraalVM. GraalVM JDK 25.0.0 and 25.0.1 do not bundle that schema, and macOS x64 users cannot move to 25.0.2+ because that platform is no longer shipped for JDK 25.

This keeps repository schema validation unchanged, but skips the GraalVM/repository reachability metadata schema cross-check when running with JDK 25 on macOS x64.

Testing

  • JAVA_HOME=/home/jovan/.sdkman/candidates/java/17.0.12-graal ./gradlew -p common/utils test
  • Local Linux diagnostic check with GRAALVM_HOME=/home/jovan/.sdkman/candidates/java/25.0.1-graal ./.github/workflows/test-jdk25-reachability-schema.sh fails with the expected missing GraalVM reachability schema error.

Notes

The final commit is a temporary [TEST] workflow for PR validation. It runs the same JDK 25.0.1 schema check on macOS x64 and Linux; macOS x64 should pass through the compatibility bypass, while Linux should fail on the JDK 25.0.1 schema mismatch.

@jvukicev jvukicev added the enhancement New feature or request label May 8, 2026
@jvukicev jvukicev self-assigned this May 8, 2026
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 8, 2026
@jvukicev
jvukicev force-pushed the skip-jdk25-macos-x64-schema-validation branch from 52407c5 to e40a528 Compare May 8, 2026 09:02
@jvukicev
jvukicev force-pushed the skip-jdk25-macos-x64-schema-validation branch 2 times, most recently from b108448 to f87c1fa Compare May 8, 2026 09:12
@jvukicev
jvukicev marked this pull request as ready for review May 8, 2026 09:12
@jvukicev
jvukicev requested a review from vjovanov May 8, 2026 09:13
@jvukicev
jvukicev merged commit 97565e2 into master May 8, 2026
47 checks passed
@jvukicev
jvukicev deleted the skip-jdk25-macos-x64-schema-validation branch May 8, 2026 09:59
mergify Bot added a commit to robfrank/linklift that referenced this pull request Jun 4, 2026
….0 to 1.1.1 [skip ci]

Bumps [org.graalvm.buildtools:native-maven-plugin](https://github.com/graalvm/native-build-tools) from 1.1.0 to 1.1.1.
Release notes

*Sourced from [org.graalvm.buildtools:native-maven-plugin's releases](https://github.com/graalvm/native-build-tools/releases).*

> 1.1.1
> -----
>
> What's Changed
> --------------
>
> * Release 1.1.0 by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#880](https://redirect.github.com/graalvm/native-build-tools/pull/880)
> * Bump version to 1.1.1-SNAPSHOT by [`@​graalvmbot`](https://github.com/graalvmbot) in [graalvm/native-build-tools#881](https://redirect.github.com/graalvm/native-build-tools/pull/881)
> * Adapt missing metadata issues to title-only coordinates by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#886](https://redirect.github.com/graalvm/native-build-tools/pull/886)
> * Skip JDK 25 metadata schema check on macOS x64 by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#888](https://redirect.github.com/graalvm/native-build-tools/pull/888)
> * Treat not-for-native-image metadata as covered by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#884](https://redirect.github.com/graalvm/native-build-tools/pull/884)
> * Skip metadata requests for artifacts unavailable in Maven Central repository by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#890](https://redirect.github.com/graalvm/native-build-tools/pull/890)
> * Bump reachability metadata repository to 1.0.2 by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#897](https://redirect.github.com/graalvm/native-build-tools/pull/897)
> * Allow empty classpath for layer-create builds by [`@​jormundur00`](https://github.com/jormundur00) in [graalvm/native-build-tools#895](https://redirect.github.com/graalvm/native-build-tools/pull/895)
>
> **Full Changelog**: <graalvm/native-build-tools@1.1.0...1.1.1>


Commits

* [`fd47dd5`](graalvm/native-build-tools@fd47dd5) Release 1.1.1
* [`0d6e84e`](graalvm/native-build-tools@0d6e84e) Allow empty classpath for layer-create builds ([#895](https://redirect.github.com/graalvm/native-build-tools/issues/895))
* [`56a974c`](graalvm/native-build-tools@56a974c) Bump reachability metadata repository to 1.0.2 ([#897](https://redirect.github.com/graalvm/native-build-tools/issues/897))
* [`5c091d7`](graalvm/native-build-tools@5c091d7) Skip metadata requests for artifacts unavailable in Maven Central repository ...
* [`e91cd32`](graalvm/native-build-tools@e91cd32) Treat not-for-native-image metadata as covered ([#884](https://redirect.github.com/graalvm/native-build-tools/issues/884))
* [`97565e2`](graalvm/native-build-tools@97565e2) Skip JDK 25 metadata schema check on macOS x64 ([#888](https://redirect.github.com/graalvm/native-build-tools/issues/888))
* [`6bffd62`](graalvm/native-build-tools@6bffd62) Adapt missing metadata issues to title-only coordinates ([#886](https://redirect.github.com/graalvm/native-build-tools/issues/886))
* [`83ec10d`](graalvm/native-build-tools@83ec10d) Merge pull request [#881](https://redirect.github.com/graalvm/native-build-tools/issues/881) from graalvm/bump-version-to-1.1.1-SNAPSHOT
* [`a0dee9e`](graalvm/native-build-tools@a0dee9e) Bump version to 1.1.1-SNAPSHOT
* [`7852e4c`](graalvm/native-build-tools@7852e4c) Merge pull request [#880](https://redirect.github.com/graalvm/native-build-tools/issues/880) from graalvm/release/1.1.0
* See full diff in [compare view](graalvm/native-build-tools@1.1.0...1.1.1)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.graalvm.buildtools:native-maven-plugin&package-manager=maven&previous-version=1.1.0&new-version=1.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skip reachability metadata schema validation for GraalVM JDK 25 on macOS x64

2 participants