We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e024b commit 8bb4456Copy full SHA for 8bb4456
src/main/java/org/codehaus/mojo/exec/ExecMojo.java
@@ -672,7 +672,7 @@ else if ( argument instanceof Modulepath )
672
Modulepath specifiedModulepath = (Modulepath) argument;
673
commandArguments.add( computeClasspathString( specifiedModulepath ) );
674
}
675
- else if ( isLongModulePathArgument( specialArg ) || isLongClassPathArgument( specialArg ) )
+ else if ( (argument instanceof String) && (isLongModulePathArgument( (String) argument ) || isLongClassPathArgument( (String) argument )) )
676
{
677
specialArg = (String) argument;
678
0 commit comments