Skip to content

Commit 90124fe

Browse files
ankhuntiPaul Hohensee
authored andcommitted
8347296: WinInstallerUiTest fails in local test runs if the path to test work directory is longer that regular
Backport-of: b3e87360917fd56df8aa0a927723a561dcb840a2
1 parent 3eba47b commit 90124fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/jdk/tools/jpackage/windows/WinInstallerUiTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2025, 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
@@ -122,13 +122,13 @@ private void setPackageName(JPackageCommand cmd) {
122122
StringBuilder sb = new StringBuilder(cmd.name());
123123
sb.append("With");
124124
if (withDirChooser) {
125-
sb.append("DirChooser");
125+
sb.append("Dc"); // DirChooser
126126
}
127127
if (withShortcutPrompt) {
128-
sb.append("ShortcutPrompt");
128+
sb.append("Sp"); // ShortcutPrompt
129129
}
130130
if (withLicense) {
131-
sb.append("License");
131+
sb.append("L"); // License
132132
}
133133
cmd.setArgumentValue("--name", sb.toString());
134134
}

0 commit comments

Comments
 (0)