Skip to content

Broken redirect for IBM Semeru Open JDK 25 (OpenJ9) - package points to wrong GitHub release #143

Description

@LikeTheSalad

Description

The disco API package 97f7013bf7d5f5f57872e01936c58bfb (ibm-semeru-open-jdk_x64_linux_25.0.2.1.tar.gz, distribution: semeru) has a redirect URL that points to the wrong GitHub release, resulting in a 404 when Gradle attempts to download the toolchain.

Steps to reproduce

  1. Query the package:

    GET https://api.foojay.io/disco/v3.0/ids/97f7013bf7d5f5f57872e01936c58bfb
    
  2. Follow the redirect:

    GET https://api.foojay.io/disco/v3.0/ids/97f7013bf7d5f5f57872e01936c58bfb/redirect
    
  3. The redirect resolves to:

    https://github.com/ibmruntimes/semeru25-binaries/releases/download/jdk-25.0.2%2B10_openj9-0.57.0/ibm-semeru-open-jdk_x64_linux_25.0.2.1.tar.gz
    
  4. This URL returns HTTP 404 because the file ibm-semeru-open-jdk_x64_linux_25.0.2.1.tar.gz does not exist in the jdk-25.0.2+10_openj9-0.57.0 release.

Root cause

IBM published a newer release jdk-25.0.2+10.1_openj9-0.57.0 (on Feb 25, 2026) which contains the file ibm-semeru-open-jdk_x64_linux_25.0.2.1.tar.gz. However, the disco API redirect still points to the older release tag jdk-25.0.2+10_openj9-0.57.0, which only contains files named with the old convention (e.g., ibm-semeru-open-jdk_x64_linux_25.0.2_10_openj9-0.57.0.tar.gz).

The correct redirect should point to:

https://github.com/ibmruntimes/semeru25-binaries/releases/download/jdk-25.0.2%2B10.1_openj9-0.57.0/ibm-semeru-open-jdk_x64_linux_25.0.2.1.tar.gz

Impact

This breaks Gradle toolchain auto-provisioning for anyone requesting {languageVersion=25, implementation=J9}. The error seen in CI is:

Cannot find a Java installation on your machine matching: {languageVersion=25, vendor=any vendor, implementation=J9, nativeImageCapable=false}.
Some toolchain resolvers had provisioning failures: foojay (Unable to download toolchain matching the requirements
from 'https://api.foojay.io/disco/v3.0/ids/97f7013bf7d5f5f57872e01936c58bfb/redirect',
due to: Could not read '...' as it does not exist.)

This likely affects all Semeru packages for the 25.0.2.1 version, not just the x64_linux JDK.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions