RedHat 11 JDK redirects to a JRE
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by rerunning the documented discoapi query and comparing the redirect target with the downloaded filename. Check whether the incorrect JDK-to-JRE mapping is controlled by discoapi or by the Red Hat content gateway, using the reported Red Hat ticket as context. Done means the endpoint returns a JDK artifact or clearly records the upstream dependency and resolution.
Written by the indexing model from the issue text.
Description
If you query the API for the latest Red Hat JDK11 for Linux, you get this link:
https://api.foojay.io/disco/v3.0/ids/0836347ef08afff39c8de1a92eee8de7/redirect
Which resolves to:
https://developers.redhat.com/content-gateway/file/pub/openjdk/adoptium/January_2024/java-11-openjdk-11.0.22.0.7-1.portable.jdk.el.x86_64.tar.xz
However, when you actually download the file, it's actually:
java-11-openjdk-11.0.22.0.7-1.portable.jre.x86_64.tar.xz
This seems to be an upstream issue with RedHat, but I can't find anywhere specific the https://developers.redhat.com/content-gateway/file/pub/openjdk/adoptium link is publicized to report it specifically - I've reported it via the generic Report a website issue (ticket 592453) but not convinced that will get to the right place.
- Dominant language
- Java
- Stars
- 154
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from foojayio/discoapi
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
bug
All issues in foojayio/discoapi
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100