Skip to content

Commit 2ede257

Browse files
Relax constraints on arguments for string formatting in JPackageStringBundle.cannedFormattedString()
1 parent ce854a6 commit 2ede257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageStringBundle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private String getFormattedString(String key, Object[] args) {
6464
}
6565
}
6666

67-
public CannedFormattedString cannedFormattedString(String key, String ... args) {
67+
public CannedFormattedString cannedFormattedString(String key, Object ... args) {
6868
return new CannedFormattedString(this::getFormattedString, key, args);
6969
}
7070

0 commit comments

Comments
 (0)