-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
5.0
-
generic
-
generic
Name: iaR10016 Date: 06/28/2004
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b57
(passes with JDK1.5.0-b56,
the test is not valid for JDK1.4.2)
JCK : JCK1.5-runtime (b22)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/1.5/project/data_reports/owners.jto
Falling test[s]: api/javax_management/remote/JMXServiceURL/index.html#ConstructorTests [ConstructorTest0003]
JCK1.5-runtime (b22) api/javax_management/remote/JMXServiceURL/index.html#ConstructorTests test fails using
JDK1.5.0-b57 on all platforms.
Test source location:
=====================
/java/re/jck/1.5/promoted/beta2/b22/binaries/JCK-runtime-15/tests/api/javax_management/remote/JMXServiceURL/ConstructorTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b57/jck15/sparc/Solaris_8_sparc_CDE__linux-1/workDir/api/javax_management/remote/JMXServiceURL/index_ConstructorTests.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b57/binaries/solaris-sparc"
JCK="/java/re/jck/1.5/promoted/beta2/b22/binaries/JCK-runtime-15"
#Alternative paths outside Java Software
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b57/binaries/solaris-sparc"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta2/b22/binaries/JCK-runtime-15"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
TEST="javasoft.sqe.tests.api.javax.management.remote.JMXServiceURL.ConstructorTests -TestCaseID ConstructorTest0003"
echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
$JDK/bin/java -showversion -cp $CLASSPATH $TEST
--- script end ---
Test output:
============
JCK_VERSION=1.5 JCK_BUILD_ID=b22
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b57)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b57, mixed mode)
Starting testcase <ConstructorTest0003>...
We will create a total of 468 JMXServiceURL instances, expecting all to fail with a MalformedURLException throwed
(ERROR) Did not receive MalformedURLException when using serviceURL = service:jmx:protocol://1
(ERROR) Did not receive MalformedURLException when using protocol = protocol - host = 1 - port = 0
(ERROR) Did not receive MalformedURLException when using protocol = protocol - host = 1 - port = 0 - urlPath = null
(ERROR) Did not receive MalformedURLException when using serviceURL = service:jmx:protocol://1
(ERROR) Did not receive MalformedURLException when using protocol = protocol - host = 1 - port = 0
(ERROR) Did not receive MalformedURLException when using protocol = protocol - host = 1 - port = 0 - urlPath = null
(ERROR) Did not receive MalformedURLException when using serviceURL = service:jmx:protocol://1B
(ERROR) Did not receive MalformedURLException when using protocol = protocol - host = 1B - port = 0
(ERROR) Did not receive MalformedURLException when using protocol = protocol - host = 1B - port = 0 - urlPath = null
TestCase <ConstructorTest0003> done...
ConstructorTest0003: Failed. 9 errors occured
STATUS:Failed.test cases: 1; all failed; first test case failure: ConstructorTest0003
Specific machine info:
======================
Hostname: linux-1
OS: Solaris 8 (sparc) (CDE)
Hostname: linux-21
OS: Windows XP Home
Hostname: linux-9
OS: RedHat Advanced Server 3 (Gnome)
======================================================================