JDK-6218441 : JCK-runtime-15: -server -Xcomp flags causes failures in api/java_net/URI/
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 5.0u2
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: generic
  • Submitted: 2005-01-18
  • Updated: 2010-04-03
  • Resolved: 2005-01-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u2Resolved
Related Reports
Duplicate :  
Description
-server and -Xcomp flags when used in combination cause 3 failures in the api/java_net/URI/ suite on Win2000pro

Harware Used:Pentium 4 2.4GHz, 1024 MB RAM

Steps to reproduce
- Setup testrun file for creation of work directory and include in the OPTIONS attribute the flags -server and -Xcomp
- Execute the command to create the workDir
- Execute the run.sh in the workDir, and run the JCK-runtime-15 testsuite
- After execution there are 3 failures seen in the api/java_net/URI/ category

This is also reproduceable manually
-the JCK testbase can be found at /net/latte.ireland/export/home4/jck/JCK-runtime-15/
-set CLASSPATH to the classes folder in the JCK-runtime-15 folder
-use the java.exe in the jdk1.5.0_x folder not the default installed jre java.exe to execute the following command:
c:\progra~1\java\jdk1.5.0_02\bin\java.exe -server -Xcomp -Djavatest.security.allowPropertiesAccess=true -Xfuture -classpath Z:\jck\JCK-runtime-15\classes -Djava.security.policy=Z:\jck\JCK-runtime-15\lib\jck.policy javasoft.sqe.tests.api.java.net.URI.CtorTests -TestCaseID ALL

The following out is seen:

URI0001: Passed. OKAY
URI0002: Passed. OKAY
URI0003: Passed. OKAY
URI2001: Passed. OKAY
URI2002: Passed. OKAY
URI2003: Passed. OKAY
URI2004: Failed. unexpected java.net.URISyntaxException: Expected IPv4 address at index 17: ftp://[1234:2345::ABCD]:1234/dir/file#ABC with ftp://[1234:2345::ABCD]:1234/dir/file#ABC
URI2005: Passed. OKAY
URI2006: Passed. OKAY
URI2007: Passed. OKAY
URI2008: Passed. OKAY
URI2009: Passed. OKAY
URI2010: Passed. OKAY
URI2011: Passed. OKAY
URI2012: Passed. OKAY
URI2013: Failed. Unexpected: java.net.URISyntaxException: Malformed IPv6 address at index 7: abc://[::0001]/home/root#Xwith (abc,::0001,/home/root,X)
URI2014: Passed. OKAY
URI2015: Failed. Unexpected: java.net.URISyntaxException: Expected IPv4 address at index 20: abc://me@[0001:ABCD::0001]/home/root?a=b;x=ywith (abc,me@[0001:ABCD::0001],/home/root,a=b;x=y,null)
URI2016: Passed. OKAY
STATUS:Failed.test cases: 19; passed: 16; failed: 3; first test case failure: URI2004

I have attached the jtr files of the failing testcases

If the -server flag or the -Xcomp flag are removed in the interview the testcases that have errors will pass

 


###@###.### 2005-1-18 13:28:12 GMT