Skip to content

/disco/v3.0/packages/jdks endpoint with a specific jdk_version and distribution=mandrel returns packages that do not match the requested version #149

@zakkak

Description

@zakkak

When querying the /disco/v3.0/packages/jdks endpoint with a specific jdk_version, the response
includes packages that do not match the requested version.

curl -s -X 'GET' \
  'https://api.foojay.io/disco/v3.0/packages/jdks?jdk_version=21&distribution=mandrel&architecture=x64&&operating_system=linux&latest=per_distro' \
  -H 'accept: application/json' | jq '.result'

Expected Behavior

All returned packages should have java21 in the filename.

Actual Behavior

DISCO API returns old Mandrel packages versioned 21.x (Mandrel version) that are JDK-11 and JDK-17 based.

Additional info

According to graalvm/setup-graalvm#211 this used to work as expected 3-4 days ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions