File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
src/jdk.jpackage/share/classes/jdk/jpackage/internal Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,7 @@ public void validate() throws PackagerException {
166
166
}
167
167
} else {
168
168
if (!hasInput && !hasAppImage ) {
169
- throw new PackagerException (
170
- "ERR_MissingArgument" , "--input" );
169
+ throw new PackagerException ("error.no-input-parameter" );
171
170
}
172
171
}
173
172
} else {
Original file line number Diff line number Diff line change @@ -185,10 +185,6 @@ private static LauncherData createNonModular(
185
185
}
186
186
187
187
Path mainJarDir = StandardBundlerParam .SOURCE_DIR .fetchFrom (params );
188
- if (mainJarDir == null && launcherData .qualifiedClassName == null ) {
189
- throw new ConfigException (I18N .getString ("error.no-input-parameter" ),
190
- null );
191
- }
192
188
193
189
final Path mainJarPath ;
194
190
if (launcherData .mainJarName != null && mainJarDir != null ) {
You can’t perform that action at this time.
0 commit comments