mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
break if method found
This commit is contained in:
parent
461d62a321
commit
02b94bb768
@ -217,6 +217,7 @@ public class WasmRule extends TemporaryFolder {
|
||||
try {
|
||||
Class<?> clazz = classes[i];
|
||||
method = clazz.getDeclaredMethod( methodName, types );
|
||||
break;
|
||||
} catch( NoSuchMethodException ex ) {
|
||||
if( i == classes.length - 1 ) {
|
||||
throw ex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user