src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacBaseInstallerBundler.java
equal
deleted
inserted
replaced
30 import java.io.IOException; |
30 import java.io.IOException; |
31 import java.io.PrintStream; |
31 import java.io.PrintStream; |
32 import java.nio.file.Files; |
32 import java.nio.file.Files; |
33 import java.text.MessageFormat; |
33 import java.text.MessageFormat; |
34 import java.util.ArrayList; |
34 import java.util.ArrayList; |
35 import java.util.Arrays; |
|
36 import java.util.Collection; |
|
37 import java.util.LinkedHashSet; |
|
38 import java.util.List; |
35 import java.util.List; |
39 import java.util.Map; |
36 import java.util.Map; |
40 import java.util.ResourceBundle; |
37 import java.util.ResourceBundle; |
41 import java.util.regex.Matcher; |
38 import java.util.regex.Matcher; |
42 import java.util.regex.Pattern; |
39 import java.util.regex.Pattern; |
121 throw new ConfigException( |
118 throw new ConfigException( |
122 I18N.getString("message.app-image-requires-app-name"), |
119 I18N.getString("message.app-image-requires-app-name"), |
123 I18N.getString( |
120 I18N.getString( |
124 "message.app-image-requires-app-name.advice")); |
121 "message.app-image-requires-app-name.advice")); |
125 } |
122 } |
126 if (IDENTIFIER.fetchFrom(params) == null) { |
|
127 throw new ConfigException( |
|
128 I18N.getString("message.app-image-requires-identifier"), |
|
129 I18N.getString( |
|
130 "message.app-image-requires-identifier.advice")); |
|
131 } |
|
132 } else { |
123 } else { |
133 APP_BUNDLER.fetchFrom(params).validate(params); |
124 APP_BUNDLER.fetchFrom(params).validate(params); |
134 } |
125 } |
135 } |
126 } |
136 |
127 |