Skip to content

Commit

Permalink
fix(java): architecture appears only once in Adoptium's naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
gounthar committed Dec 19, 2024
1 parent 8f732b7 commit 9e88812
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ public String buildJDKFileName(int jdkVersion) {
String os = getOSName();
String normalizedOS = normalizeOS(os);
String architecture = getArchitecture();
return String.format(
"OpenJDK%sU-jdk_%s_%s_%s_hotspot_%s", jdkVersion, architecture, normalizedOS, architecture, jdkVersion);
return String.format("OpenJDK%sU-jdk_%s_%s_hotspot_%s", jdkVersion, architecture, normalizedOS, jdkVersion);
}

/**
Expand Down

0 comments on commit 9e88812

Please sign in to comment.