diff graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/lang/Object_notifyAll01.java @ 7282:390448a6b535

converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed the HP_series and FloatingReads tests have been disabled temporarily
author Doug Simon <doug.simon@oracle.com>
date Thu, 20 Dec 2012 14:59:57 +0100
parents e808627bd16f
children
line wrap: on
line diff
--- a/graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/lang/Object_notifyAll01.java	Thu Dec 20 13:14:56 2012 +0100
+++ b/graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/lang/Object_notifyAll01.java	Thu Dec 20 14:59:57 2012 +0100
@@ -26,8 +26,9 @@
 
 import org.junit.*;
 
-@SuppressWarnings("static-method")
-public final class Object_notifyAll01 {
+import com.oracle.graal.jtt.*;
+
+public final class Object_notifyAll01 extends JTTTest {
 
     static final Object obj = new Object();
 
@@ -36,9 +37,9 @@
         return true;
     }
 
-    @Test(expected = java.lang.IllegalMonitorStateException.class)
+    @Test
     public void run0() throws Throwable {
-        test();
+        runTest("test");
     }
 
 }