test/jdk/java/awt/Graphics2D/MTGraphicsAccessTest/MTGraphicsAccessTest.java
changeset 59021 cfc7bb9a5a92
parent 47216 71c04702a3d5
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
   195         public void run() {
   195         public void run() {
   196             try {
   196             try {
   197                 while (!done) {
   197                 while (!done) {
   198                     try {
   198                     try {
   199                         testRunnable.run();
   199                         testRunnable.run();
   200                         yield();
   200                         Thread.yield();
   201                     } catch (Throwable t) {
   201                     } catch (Throwable t) {
   202                         numexceptions++;
   202                         numexceptions++;
   203                         t.printStackTrace();
   203                         t.printStackTrace();
   204                     }
   204                     }
   205                 }
   205                 }