|
|
@ -447,14 +447,20 @@ public final class InvokeOperator extends Operator |
|
|
|
result = (String) interpreter.interpretMethod |
|
|
|
result = (String) interpreter.interpretMethod |
|
|
|
(ma.getBytecodeInfo(), null, new Object[] { op.getValue() }); |
|
|
|
(ma.getBytecodeInfo(), null, new Object[] { op.getValue() }); |
|
|
|
} catch (InterpreterException ex) { |
|
|
|
} catch (InterpreterException ex) { |
|
|
|
|
|
|
|
if ((GlobalOptions.debuggingFlags & |
|
|
|
|
|
|
|
GlobalOptions.DEBUG_INTERPRT) != 0) { |
|
|
|
GlobalOptions.err.println("Warning: Can't interpret method " |
|
|
|
GlobalOptions.err.println("Warning: Can't interpret method " |
|
|
|
+methodName); |
|
|
|
+methodName); |
|
|
|
ex.printStackTrace(GlobalOptions.err); |
|
|
|
ex.printStackTrace(GlobalOptions.err); |
|
|
|
|
|
|
|
} |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} catch (InvocationTargetException ex) { |
|
|
|
} catch (InvocationTargetException ex) { |
|
|
|
|
|
|
|
if ((GlobalOptions.debuggingFlags & |
|
|
|
|
|
|
|
GlobalOptions.DEBUG_INTERPRT) != 0) { |
|
|
|
GlobalOptions.err.println("Warning: Interpreted method throws" |
|
|
|
GlobalOptions.err.println("Warning: Interpreted method throws" |
|
|
|
+" an uncaught exception: "); |
|
|
|
+" an uncaught exception: "); |
|
|
|
ex.getTargetException().printStackTrace(GlobalOptions.err); |
|
|
|
ex.getTargetException().printStackTrace(GlobalOptions.err); |
|
|
|
|
|
|
|
} |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
return new ConstOperator(result); |
|
|
|
return new ConstOperator(result); |
|
|
|