We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30fdb20 commit 13419eeCopy full SHA for 13419ee
src/jdk.jpackage/share/classes/jdk/jpackage/internal/LauncherBuilder.java
@@ -71,6 +71,7 @@ LauncherBuilder startupInfo(LauncherStartupInfo v) {
71
}
72
73
LauncherBuilder faGroups(List<FileAssociationGroup> v) {
74
+ v.forEach(Objects::requireNonNull);
75
faSources = v;
76
return this;
77
@@ -160,7 +161,7 @@ private static List<FileAssociation> createFileAssociations(
160
161
162
private String name;
163
private LauncherStartupInfo startupInfo;
- private List<FileAssociationGroup> faSources;
164
+ private List<FileAssociationGroup> faSources = List.of();
165
private FileAssociationTraits faTraits;
166
private boolean isService;
167
private String description;
0 commit comments