Skip to content

Commit

Permalink
#70 Jars of which modulename extraction cause an exception should end…
Browse files Browse the repository at this point in the history
… up on the classpath
  • Loading branch information
rfscholte committed Mar 26, 2021
1 parent 249f8bd commit fbe5951
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ public String extract( Path path )
catch ( Exception e )
{
result.getPathExceptions().put( t, e );

pathElements.put( t, null );

continue;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,6 @@ public void testClassicJarNameStartsWithNumber() throws Exception
ResolvePathsResult<Path> result = locationManager.resolvePaths( request );

assertThat( result.getPathExceptions().size(), is( 1 ) );
assertThat( result.getClasspathElements().size(), is(1) );
}
}

0 comments on commit fbe5951

Please sign in to comment.