-
Bug
-
Resolution: Not an Issue
-
P3
-
6
-
x86
-
linux_suse_sles_8.2
J2SE : FAIL - mustang
Platform[s] : FAIL - SuSE Linux 9.3 (i586) with GNOME
Failing Tests : CTE_REGTEST/Generic/4652023
Run "xhost +" on SuSE linux 9.3 machine and then rlogin to solaris machine.
Set DISPLAY to <linux machine>:0.0
Following error message terminated to launch java application:
/export/jdk/b49/solaris-sparc/jdk1.6.0/bin/java TestMnemonic
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'jck-win5:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at java.awt.Window.init(Window.java:316)
at java.awt.Window.<init>(Window.java:367)
at java.awt.Frame.<init>(Frame.java:413)
at java.awt.Frame.<init>(Frame.java:378)
at javax.swing.JFrame.<init>(JFrame.java:150)
at TestMnemonic.<init>(TestMnemonic.java:15)
at TestMnemonic.main(TestMnemonic.java:9)
How to reproduce:
===========================
Follow test instruction under the testsuite location
/net/jdk/export/jpse04/Regression/1.6.0/test/CTE_REGTEST/Generic/4652023
Instructions:
1. Open a terminal window and run 'xhost +' command
2. Open another terminal window and rlogin to any solaris machine with any user
id
3. set the DISPLAY to <linux machine>:0.0
Make sure that the DISPLAY env variable is properly set.
4. Goto any directory on solaris machine and copy the following file
from the linux machine
.../classes/CTE_REGTEST/Generic/4652023/TestMnemonic.class
5. Run the following command
<location of tested java for solaris machine> TestMnemonic
...
Machine info:
===========================
dtftest@jck-win5:~> uname -a
Linux jck-win5 2.6.11.4-20a-default #1 Wed Mar 23 21:52:37 UTC 2005 i686 i686 i386 GNU/Linux SuSE Linux 9.3 (i586) - Kernel 2.6.11.4-20a-default (1)
$uname -a
SunOS parislv 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-60
Platform[s] : FAIL - SuSE Linux 9.3 (i586) with GNOME
Failing Tests : CTE_REGTEST/Generic/4652023
Run "xhost +" on SuSE linux 9.3 machine and then rlogin to solaris machine.
Set DISPLAY to <linux machine>:0.0
Following error message terminated to launch java application:
/export/jdk/b49/solaris-sparc/jdk1.6.0/bin/java TestMnemonic
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'jck-win5:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at java.awt.Window.init(Window.java:316)
at java.awt.Window.<init>(Window.java:367)
at java.awt.Frame.<init>(Frame.java:413)
at java.awt.Frame.<init>(Frame.java:378)
at javax.swing.JFrame.<init>(JFrame.java:150)
at TestMnemonic.<init>(TestMnemonic.java:15)
at TestMnemonic.main(TestMnemonic.java:9)
How to reproduce:
===========================
Follow test instruction under the testsuite location
/net/jdk/export/jpse04/Regression/1.6.0/test/CTE_REGTEST/Generic/4652023
Instructions:
1. Open a terminal window and run 'xhost +' command
2. Open another terminal window and rlogin to any solaris machine with any user
id
3. set the DISPLAY to <linux machine>:0.0
Make sure that the DISPLAY env variable is properly set.
4. Goto any directory on solaris machine and copy the following file
from the linux machine
.../classes/CTE_REGTEST/Generic/4652023/TestMnemonic.class
5. Run the following command
<location of tested java for solaris machine> TestMnemonic
...
Machine info:
===========================
dtftest@jck-win5:~> uname -a
Linux jck-win5 2.6.11.4-20a-default #1 Wed Mar 23 21:52:37 UTC 2005 i686 i686 i386 GNU/Linux SuSE Linux 9.3 (i586) - Kernel 2.6.11.4-20a-default (1)
$uname -a
SunOS parislv 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-60