6868533: 3/4 JDI: remove '-source 1.5' and '-target 1.5' options from com.sun.jdi tests
Summary: We are long past needing to make sure these tests can build on Tiger/JDK1.5.0.
Reviewed-by: tbell
--- a/jdk/test/com/sun/jdi/EnumTest.java Tue Aug 04 19:18:15 2009 -0700
+++ b/jdk/test/com/sun/jdi/EnumTest.java Wed Aug 05 13:17:30 2009 -0600
@@ -29,7 +29,7 @@
* @author jjh
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
- * @run compile -source 1.5 -target 1.5 -g EnumTest.java
+ * @run compile -g EnumTest.java
* @run main EnumTest
*/
import com.sun.jdi.*;
--- a/jdk/test/com/sun/jdi/GenericsTest.java Tue Aug 04 19:18:15 2009 -0700
+++ b/jdk/test/com/sun/jdi/GenericsTest.java Wed Aug 05 13:17:30 2009 -0600
@@ -29,7 +29,7 @@
* @author jjh
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
- * @run compile -source 1.5 -target 1.5 -g GenericsTest.java
+ * @run compile -g GenericsTest.java
* @run main GenericsTest
*/
import com.sun.jdi.*;
--- a/jdk/test/com/sun/jdi/JdbVarargsTest.sh Tue Aug 04 19:18:15 2009 -0700
+++ b/jdk/test/com/sun/jdi/JdbVarargsTest.sh Wed Aug 05 13:17:30 2009 -0600
@@ -32,7 +32,6 @@
# @run shell JdbVarargsTest.sh
classname=JdbVarargsTest
-compileOptions="-source 1.5 -target 1.5"
createJavaFile()
{
cat <<EOF > $classname.java.1
--- a/jdk/test/com/sun/jdi/StepTest.java Tue Aug 04 19:18:15 2009 -0700
+++ b/jdk/test/com/sun/jdi/StepTest.java Wed Aug 05 13:17:30 2009 -0600
@@ -27,7 +27,7 @@
* @author Gordon Hirsch
*
* @run build TestScaffold VMConnection TargetAdapter TargetListener
- * @run compile -g -target 1.5 MethodCalls.java
+ * @run compile -g MethodCalls.java
* @run compile -g MethodCallsReflection.java
* @run compile -g ControlFlow.java
* @run build StepTest
--- a/jdk/test/com/sun/jdi/UTF8Test.java Tue Aug 04 19:18:15 2009 -0700
+++ b/jdk/test/com/sun/jdi/UTF8Test.java Wed Aug 05 13:17:30 2009 -0600
@@ -29,7 +29,7 @@
* @author jjh
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
- * @run compile -g -source 1.5 UTF8Test.java
+ * @run compile -g UTF8Test.java
* @run main UTF8Test
*/
--- a/jdk/test/com/sun/jdi/VarargsTest.java Tue Aug 04 19:18:15 2009 -0700
+++ b/jdk/test/com/sun/jdi/VarargsTest.java Wed Aug 05 13:17:30 2009 -0600
@@ -29,7 +29,7 @@
* @author jjh
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
- * @run compile -g -source 1.5 -target 1.5 VarargsTest.java
+ * @run compile -g VarargsTest.java
* @run main VarargsTest
*/
import com.sun.jdi.*;