sebb 2003/12/02 10:48:23
Modified: src/jorphan/org/apache/jorphan/test AllTests.java
Log:
Try to find cause of Gump GUI bug
Revision Changes Path
1.8 +11 -1 jakarta-jmeter/src/jorphan/org/apache/jorphan/test/AllTests.java
Index: AllTests.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/jorphan/org/apache/jorphan/test/AllTests.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- AllTests.java 30 Nov 2003 14:08:51 -0000 1.7
+++ AllTests.java 2 Dec 2003 18:48:23 -0000 1.8
@@ -185,6 +185,16 @@
System.out.println(e+"="+System.getProperty(e));
System.out.println(g+"="+System.getProperty(g));
System.out.println("Headless?
"+java.awt.GraphicsEnvironment.isHeadless());
+ Class c;
+ try {
+ String n=System.getProperty(g);
+ c = Class.forName(n);
+ System.out.println("Found class: "+n);
+ c.newInstance();
+ System.out.println("Instantiated: "+n);
+ } catch (Exception e1) {
+ e1.printStackTrace();
+ }
//--
System.exit(0);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]