This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
FYI: change to Component.requestFocus test
- From: Anthony Balkissoon <abalkiss at redhat dot com>
- To: mauve-discuss at sources dot redhat dot com
- Date: Fri, 28 Oct 2005 14:09:29 -0400
- Subject: FYI: change to Component.requestFocus test
The Tag should have been 1.2 instead of 1.1, but I changed the JFrame to
a Frame (because JFrame is more than what was needed) and made the Tag
JDK 1.0
2005-10-28 Anthony Balkissoon <abalkiss@redhat.com>
* gnu/testlet/java/awt/Component/requestFocus.java: Changed from JFrame
to Frame, changed Tags from JDK 1.2 to JDK 1.0.
--Tony
Index: batch_run
===================================================================
RCS file: /cvs/mauve/mauve/batch_run,v
retrieving revision 1.17
diff -u -r1.17 batch_run
--- batch_run 31 Jul 2005 17:42:52 -0000 1.17
+++ batch_run 28 Oct 2005 18:05:50 -0000
@@ -38,7 +38,7 @@
if test "x$COMPILER" = "x"; then
#COMPILER="gcj -C -Wno-deprecated"
-COMPILER="jikes -nowarn -bootclasspath /usr/local/classpath/share/classpath/glibj.zip"
+COMPILER="jikes -nowarn -bootclasspath /home/abalkiss/sources/classpath/install/share/classpath"
fi
if test "x$COMPILER" = "xgcj"; then
Index: gnu/testlet/java/awt/Component/requestFocus.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/awt/Component/requestFocus.java,v
retrieving revision 1.1
diff -u -r1.1 requestFocus.java
--- gnu/testlet/java/awt/Component/requestFocus.java 28 Oct 2005 16:04:10 -0000 1.1
+++ gnu/testlet/java/awt/Component/requestFocus.java 28 Oct 2005 18:05:50 -0000
@@ -1,4 +1,4 @@
-// Tags: GUI JDK1.1
+// Tags: GUI JDK1.0
// Copyright (C) 2005 Red Hat
@@ -22,7 +22,7 @@
import gnu.testlet.TestHarness;
import gnu.testlet.Testlet;
-import javax.swing.JFrame;
+import java.awt.Frame;
public class requestFocus implements Testlet {
@@ -33,7 +33,7 @@
*/
public void test(TestHarness harness)
{
- JFrame jf = new JFrame();
+ Frame jf = new Frame();
jf.show();
try
{