Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ private ResolvePathResult resolvePath( Path path, ModuleNameExtractor fileModule
// either jar or outputDirectory
if ( Files.isRegularFile( path ) && !path.getFileName().toString().endsWith( ".jar" ) )
{
throw new IllegalArgumentException( "Only outputDirectories and jars are accepted on the path" );
throw new IllegalArgumentException( path.toString() + " not allowed on the path, only outputDirectories and jars are accepted" );
}

if ( Files.isRegularFile( path ) || Files.exists( path.resolve( "module-info.class" ) ) )
Expand Down