fix native image build error when mainClass is null,add an empty string placeholder (#13426)
This commit is contained in:
parent
a53228d545
commit
7e0954b8cf
|
|
@ -85,7 +85,7 @@ public class DubboProcessAotMojo extends AbstractAotMojo {
|
|||
|
||||
private String[] getAotArguments(String applicationClass) {
|
||||
List<String> aotArguments = new ArrayList<>();
|
||||
aotArguments.add(applicationClass);
|
||||
aotArguments.add(applicationClass != null ? applicationClass : "");
|
||||
aotArguments.add(this.generatedSources.toString());
|
||||
aotArguments.add(this.generatedResources.toString());
|
||||
aotArguments.add(this.generatedClasses.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue