Bug 436759 [otdre] Finish implementation of OTDRE
- fix tests, better isolation of parts of the same test
diff --git a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
index 2c4664b..993dd47 100644
--- a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
+++ b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
@@ -1457,7 +1457,7 @@
     		"OK",
     		null,
     		false/*shouldFlushOutputDirectory*/,
-    		null);
+    		new String[] {"-DA12grf18_2=2"}); // force new vm launch to accept the new class version
     }
 
     // a role does not use the type parameter of its enclosing team, has callin binding, copied as phantom role
@@ -1496,7 +1496,7 @@
     		"OK",
     		null,
     		false/*shouldFlushOutputDirectory*/,
-    		null);
+    		new String[] {"-DA12grf19_2=2"}); // force new vm launch to accept the new class version
     }
 
     // a parameter of a callout binding requires autoboxing - explicit mapping