Skip to content
Permalink
Browse files
CXF-8689: cxf-java2ws-plugin plugin running on non-modular JDK fails …
…with NullPointerException (#936)
  • Loading branch information
reta committed Apr 12, 2022
1 parent 47c84ed commit d6198a707f82d257f0ad94084950585d593c5930
Showing 1 changed file with 5 additions and 3 deletions.
@@ -293,9 +293,11 @@ private List<String> initArgs(String cp) {
List<String> args = new ArrayList<>();

if (fork) {
String[] split = additionalJvmArgs.split("\\s+");
for (String each : split) {
args.add(each);
if (!StringUtils.isEmpty(additionalJvmArgs)) {
String[] split = additionalJvmArgs.split("\\s+");
for (String each : split) {
args.add(each);
}
}
// @see JavaToWS#isExitOnFinish()
args.add("-DexitOnFinish=true");

0 comments on commit d6198a7

Please sign in to comment.