Skip to content

Commit 1b4dd9a

Browse files
committed
fix version issues with AdoptV3API
1 parent d25dab9 commit 1b4dd9a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/io/github/fvarrui/javapackager/packagers/GenerateNativeImage.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
import static io.github.fvarrui.javapackager.utils.CommandUtils.execute;
1212

1313
/**
14-
* Creates a MSI file including all app folder's content only for
15-
* Windows so app could be easily distributed
14+
* TODO
1615
*/
1716
public class GenerateNativeImage extends ArtifactGenerator<Packager> {
1817

src/main/java/io/github/fvarrui/javapackager/utils/updater/AdoptV3API.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public String getVersionInformationUrl(String releaseVersionName, OperatingSyste
3838
String jvmImplementation = isHotspotImpl ? "hotspot" : "openj9";
3939
String heapSize = isLargeHeapSize ? "large" : "normal";
4040
return START_ASSETS_URL
41-
+ releaseVersionName
41+
+ "%5B" + releaseVersionName.replace("+", "%2B") + "%2C%29"
4242
+ "?architecture=" + osArchitectureType.name
4343
+ "&heap_size=" + heapSize
4444
+ "&image_type=" + imageType.name

0 commit comments

Comments
 (0)