test/jdk/com/sun/jdi/InvokeHangTest.java
changeset 59021 cfc7bb9a5a92
parent 47216 71c04702a3d5
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
    62     }
    62     }
    63 
    63 
    64     // This is called from the debugger via invokeMethod
    64     // This is called from the debugger via invokeMethod
    65     public double invokeee() {
    65     public double invokeee() {
    66         System.out.println("Debuggee: invokeee in thread "+Thread.currentThread().toString());
    66         System.out.println("Debuggee: invokeee in thread "+Thread.currentThread().toString());
    67         yield();
    67         Thread.yield();
    68         return longMethod(2);
    68         return longMethod(2);
    69     }
    69     }
    70     public double longMethod(int n) {
    70     public double longMethod(int n) {
    71         double a = 0;
    71         double a = 0;
    72         double s = 0;
    72         double s = 0;