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

Bump dependencies #1174

Merged
merged 6 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ant/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ java.download=https://bell-sw.com/pages/downloads/#/java-11-lts
# Java vendor to bundle into software (e.g. "*BellSoft|Adoptium|Microsoft|Amazon|IBM")
jlink.java.vendor="BellSoft"
# Java vendor to bundle into software (e.g. "11.0.17+7")
jlink.java.version="11.0.20+8"
jlink.java.version="11.0.20.1+1"
# Java garbage collector flavor to use (e.g. "hotspot|openj9")
jlink.java.gc="hotspot"
# Java garbage collector version to use (e.g. openj9: "0.35.0", zulu: "11.62.17")
Expand Down
Binary file removed lib/commons-codec-1.15.jar
Binary file not shown.
Binary file added lib/commons-codec-1.16.0.jar
Binary file not shown.
Binary file removed lib/commons-io-2.11.0.jar
Binary file not shown.
Binary file added lib/commons-io-2.13.0.jar
Binary file not shown.
Binary file removed lib/commons-lang3-3.12.0.jar
Binary file not shown.
Binary file added lib/commons-lang3-3.13.0.jar
Binary file not shown.
Binary file removed lib/communication/jna-5.12.1.jar
Binary file not shown.
Binary file added lib/communication/jna-5.13.0.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/logging/log4j-api-2.19.0.jar
Binary file not shown.
Binary file added lib/logging/log4j-api-2.20.0.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed lib/websocket/jetty-client-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/jetty-client-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/jetty-http-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/jetty-http-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/jetty-io-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/jetty-io-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/jetty-security-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/jetty-security-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/jetty-server-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/jetty-server-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/jetty-servlet-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/jetty-servlet-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/jetty-util-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/jetty-util-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/websocket-core-client-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/websocket-core-client-10.0.16.jar
Binary file not shown.
Binary file removed lib/websocket/websocket-core-common-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/websocket-core-common-10.0.16.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed lib/websocket/websocket-jetty-common-10.0.15.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/websocket/websocket-jetty-server-10.0.15.jar
Binary file not shown.
Binary file added lib/websocket/websocket-jetty-server-10.0.16.jar
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/qz/build/JLink.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private static boolean needsDownload(Version want, Version installed) {
* Download the JDK and return the path it was extracted to
*/
private String downloadJdk(Arch arch, Platform platform) throws IOException {
String url = new Url(this.javaVendor).format(arch, platform, this.gcEngine, this.javaSemver, this.gcVersion);
String url = new Url(this.javaVendor).format(arch, platform, this.gcEngine, this.javaSemver, this.javaVersion, this.gcVersion);

// Saves to out e.g. "out/jlink/jdk-AdoptOpenjdk-amd64-platform-11_0_7"
String extractedJdk = new Fetcher(String.format("jlink/jdk-%s-%s-%s-%s", javaVendor.value(), arch.value(), platform.value(), javaSemver.toString().replaceAll("\\+", "_")), url)
Expand Down
4 changes: 2 additions & 2 deletions src/qz/build/jlink/Url.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ public Url(Vendor vendor) {
pattern = VENDOR_URL_MAP.get(vendor);
}

public String format(Arch arch, Platform platform, String gcEngine, Version javaSemver, String gcVer) throws UnsupportedEncodingException {
public String format(Arch arch, Platform platform, String gcEngine, Version javaSemver, String javaVersion, String gcVer) throws UnsupportedEncodingException {
Url pattern = new Url(vendor);
String urlArch = vendor.getUrlArch(arch);
String fileExt = vendor.getUrlExtension(platform);
String urlPlatform = vendor.getUrlPlatform(platform);
String urlJavaVersion = vendor.getUrlJavaVersion(javaSemver);

// Convert "+" to "%2B"
String urlJavaVersionEncode = URLEncoder.encode(javaSemver.toString(), "UTF-8");
String urlJavaVersionEncode = URLEncoder.encode(javaVersion, "UTF-8");

int javaMajor = javaSemver.getMajorVersion();
switch(vendor) {
Expand Down