Skip to content

Commit 8307aa6

Browse files
author
Alexey Semenyuk
committedMar 25, 2021
8264165: jpackage BasicTest fails after JDK-8220266: Check help text contains plaform specific parameters
Reviewed-by: herrick, dcubed
1 parent c037e1e commit 8307aa6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Generic Options:\n\
167167
{2}\n\
168168
\Options for creating the application package:\n\
169169
\ --about-url <url>\n\
170-
\ URL of the application's home page\n\
170+
\ URL of the application''s home page\n\
171171
\ --app-image <file path>\n\
172172
\ Location of the predefined application image that is used\n\
173173
\ to build an installable package\n\

‎src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Generic Options:\n\
167167
{2}\n\
168168
\Options for creating the application package:\n\
169169
\ --about-url <url>\n\
170-
\ URL of the application's home page\n\
170+
\ URL of the application''s home page\n\
171171
\ --app-image <file path>\n\
172172
\ Location of the predefined application image that is used\n\
173173
\ to build an installable package\n\

‎src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Generic Options:\n\
167167
{2}\n\
168168
\Options for creating the application package:\n\
169169
\ --about-url <url>\n\
170-
\ URL of the application's home page\n\
170+
\ URL of the application''s home page\n\
171171
\ --app-image <file path>\n\
172172
\ Location of the predefined application image that is used\n\
173173
\ to build an installable package\n\

‎test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void testHelp() {
138138

139139
TKit.trace("Check parameters in help text");
140140
TKit.assertNotEquals(0, countStrings.apply(List.of(expectedPrefix)),
141-
"Check help text contains plaform specific parameters");
141+
"Check help text contains platform specific parameters");
142142
TKit.assertEquals(0, countStrings.apply(unexpectedPrefixes),
143143
"Check help text doesn't contain unexpected parameters");
144144
}

0 commit comments

Comments
 (0)
Please sign in to comment.