Skip to content
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

correct location to src.zip #689

Merged
merged 1 commit into from
Nov 6, 2024
Merged

correct location to src.zip #689

merged 1 commit into from
Nov 6, 2024

Conversation

gdams
Copy link
Member

@gdams gdams commented Oct 29, 2024

fixes: #472

On JDK11+ the location is ${JAVA_HOME}/lib/src.zip
On JDK8 the location is ${JAVA_HOME}/src.zip

For JREs the src.zip will never exist so we shouldn't be trying to delete it

A simple way to test this on JDK8u (showing that the src.zip is still present)

 docker run -it eclipse-temurin:8-jdk-alpine find ${JAVA_HOME} -name src.zip
./opt/java/openjdk/src.zip

@gdams gdams merged commit 4064490 into adoptium:main Nov 6, 2024
74 checks passed
@gdams gdams deleted the src branch November 6, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: path of src.zip is error
3 participants