Skip to content

Commit f79ed4d

Browse files
committed
8281874: Can't unpack msi installers from test/jdk/tools/jpackage/windows/test/jdk/tools/jpackage/windows/WinShortcutPromptTest.java test
Backport-of: 81645521c81c7363d199e5051d51043146058a91
1 parent 4e6d34f commit f79ed4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2022, 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 (withShortcutPrompt) {
125-
sb.append("ShortcutPrompt");
125+
sb.append("P");
126126
}
127127
if (withStartMenuShortcut) {
128-
sb.append("StartMenu");
128+
sb.append("M");
129129
}
130130
if (withDesktopShortcut) {
131-
sb.append("Desktop");
131+
sb.append("D");
132132
}
133133
cmd.setArgumentValue("--name", sb.toString());
134134
}

0 commit comments

Comments
 (0)