diff --git a/jnius/src/org/jnius/NativeInvocationHandler.java b/jnius/src/org/jnius/NativeInvocationHandler.java index 03d9bad7..41d6f427 100644 --- a/jnius/src/org/jnius/NativeInvocationHandler.java +++ b/jnius/src/org/jnius/NativeInvocationHandler.java @@ -12,13 +12,11 @@ public NativeInvocationHandler(long ptr) { public Object invoke(Object proxy, Method method, Object[] args) { if ( DEBUG ) { - System.out.print("+ java:invoke(, "); // don't call it, or recursive lookup/proxy will go! //System.out.print(proxy); //System.out.print(", "); - System.out.print(method); - System.out.print(", "); - System.out.print(args); + String message = "+ java:invoke(, " + method + ", " + args; + System.out.print(message); System.out.println(")"); System.out.flush(); }