Skip to content

Commit 9e451aa

Browse files
author
Alexey Semenyuk
committed
8343102: Remove --compress from jlink command lines from jpackage tests
Reviewed-by: almatvee
1 parent 873f8a6 commit 9e451aa

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

test/jdk/tools/jpackage/share/RuntimeImageTest.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,6 @@
2525
import java.nio.file.Path;
2626
import jdk.jpackage.test.TKit;
2727
import jdk.jpackage.test.Annotations.Test;
28-
import jdk.jpackage.test.Annotations.Parameter;
2928
import jdk.jpackage.test.JPackageCommand;
3029
import jdk.jpackage.test.JavaTool;
3130
import jdk.jpackage.test.Executor;
@@ -45,10 +44,7 @@
4544
public class RuntimeImageTest {
4645

4746
@Test
48-
@Parameter("0")
49-
@Parameter("1")
50-
@Parameter("2")
51-
public static void test(String compression) throws Exception {
47+
public static void test() throws Exception {
5248
final Path workDir = TKit.createTempDirectory("runtime").resolve("data");
5349
final Path jlinkOutputDir = workDir.resolve("temp.runtime");
5450
Files.createDirectories(jlinkOutputDir.getParent());
@@ -58,7 +54,6 @@ public static void test(String compression) throws Exception {
5854
.dumpOutput()
5955
.addArguments(
6056
"--output", jlinkOutputDir.toString(),
61-
"--compress=" + compression,
6257
"--add-modules", "ALL-MODULE-PATH",
6358
"--strip-debug",
6459
"--no-header-files",

test/jdk/tools/jpackage/share/RuntimePackageTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -113,7 +113,6 @@ private static PackageTest init(Set<PackageType> types) {
113113
.dumpOutput()
114114
.addArguments(
115115
"--output", runtimeImageDir.toString(),
116-
"--compress=0",
117116
"--add-modules", "ALL-MODULE-PATH",
118117
"--strip-debug",
119118
"--no-header-files",

0 commit comments

Comments
 (0)