425696 - start.jar --add-to-start={module} results in error
This commit is contained in:
parent
3a16944fd7
commit
dec67094bf
|
@ -98,8 +98,9 @@ public final class Props implements Iterable<Prop>
|
|||
|
||||
if (props.isEmpty())
|
||||
{
|
||||
// This is a stupid programming error, we should have something, even system properties
|
||||
throw new PropsException("Props is empty: no properties declared!?");
|
||||
// nothing to expand
|
||||
// this situation can occur from --add-to-startd on a new blank base directory
|
||||
return str;
|
||||
}
|
||||
|
||||
Pattern pat = Pattern.compile("(?<=[^$]|^)(\\$\\{[^}]*\\})");
|
||||
|
|
Loading…
Reference in New Issue