-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 5.0
-
Component/s: client-libs
-
b26
-
generic
-
generic
-
Verified
Name: iaR10016 Date: 09/10/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b18, JDK1.5.0-b17
(passes with JDK1.4.2-b28)
JCK : JCK1.5-runtime
Platform[s] : all
switch/Mode : -enablesystemassertions
(passes with -client, -server, -enableassertions switches)
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/java_awt/AWTKeyStroke/index.html#Register [AWTKeyStroke0019]
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_awt/AWTKeyStroke/RegisterTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b18/jck15/sparc/sol10_sparc_gnome_client_d64_enablesystemassertions_linux-8/workDir/api/java_awt/AWTKeyStroke/index_Register.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
#JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java -enablesystemassertions -Xfuture javasoft.sqe.tests.api.java.awt.AWTKeyStroke.RegisterTests -TestCaseID AWTKeyStroke0019
--- script end ---
Script output:
==============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b18)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b18, mixed mode)
java.lang.AssertionError
at java.awt.AWTKeyStroke$1.run(AWTKeyStroke.java:213)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.AWTKeyStroke.getCtor(AWTKeyStroke.java:202)
at java.awt.AWTKeyStroke.registerSubclass(AWTKeyStroke.java:165)
at javasoft.sqe.tests.api.java.awt.AWTKeyStroke.FakeAWTKeyStroke.registerSubclass(FakeAWTKeyStroke.java:16)
at javasoft.sqe.tests.api.java.awt.AWTKeyStroke.RegisterTests.AWTKeyStroke0019(RegisterTests.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.java.awt.AWTKeyStroke.RegisterTests.main(RegisterTests.java:153)
AWTKeyStroke0019: Failed. Test case throws exception: java.lang.AssertionError
STATUS:Failed.test cases: 1; all failed; first test case failure: AWTKeyStroke0019
Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================