This commit is contained in:
Volker Berlin 2019-04-04 18:54:52 +02:00
parent 2ea1073bf5
commit 58fbce005a

View File

@ -138,7 +138,7 @@ public class JWebAssembly {
*/ */
public void addLibrary( @Nonnull File library ) { public void addLibrary( @Nonnull File library ) {
try { try {
libraries.add( library.toURI().toURL() ); addLibrary( library.toURI().toURL() );
} catch( MalformedURLException ex ) { } catch( MalformedURLException ex ) {
throw new IllegalArgumentException( ex ); throw new IllegalArgumentException( ex );
} }