mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +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 {
|
try {
|
||||||
Class<?> clazz = classes[i];
|
Class<?> clazz = classes[i];
|
||||||
method = clazz.getDeclaredMethod( methodName, types );
|
method = clazz.getDeclaredMethod( methodName, types );
|
||||||
|
break;
|
||||||
} catch( NoSuchMethodException ex ) {
|
} catch( NoSuchMethodException ex ) {
|
||||||
if( i == classes.length - 1 ) {
|
if( i == classes.length - 1 ) {
|
||||||
throw ex;
|
throw ex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user