You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2006/08/30 13:10:23 UTC
[jira] Created: (HARMONY-1346) [classlib][net] no
URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
[classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
--------------------------------------------------------------------------------
Key: HARMONY-1346
URL: http://issues.apache.org/jira/browse/HARMONY-1346
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Vladimir Ivanov
The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony.
=============== test.java ===================
import java.net.URI;
public class test {
public static void main(String arg[]) throws Exception {
System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null));
}
}
=========================================
Output:
C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.parseIPv6Reference(URI.java:3430)
at java.net.URI$Parser.parseServer(URI.java:3180)
at java.net.URI$Parser.parseAuthority(URI.java:3116)
at java.net.URI$Parser.parseHierarchical(URI.java:3058)
at java.net.URI$Parser.parse(URI.java:3024)
at java.net.URI.<init>(URI.java:663)
at java.net.URI.<init>(URI.java:764)
at test.main(test.java:5)
C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test
java version 1.5 (subset)
(c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
res = //[:2:3:4:5:6:7:8]/
C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
res = //[:2:3:4:5:6:7:8]/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-1346) [classlib][net] no
URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
Posted by "spark shen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1346?page=all ]
spark shen updated HARMONY-1346:
--------------------------------
Attachment: Harmony-1346.diff
Would you please try this new patch? The old one is outdated.
Best regards
> [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1346
> URL: http://issues.apache.org/jira/browse/HARMONY-1346
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vladimir Ivanov
> Attachments: Harmony-1346.diff, URITest.patch
>
>
> The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony.
> =============== test.java ===================
> import java.net.URI;
> public class test {
> public static void main(String arg[]) throws Exception {
> System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null));
> }
> }
> =========================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
> java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.parseIPv6Reference(URI.java:3430)
> at java.net.URI$Parser.parseServer(URI.java:3180)
> at java.net.URI$Parser.parseAuthority(URI.java:3116)
> at java.net.URI$Parser.parseHierarchical(URI.java:3058)
> at java.net.URI$Parser.parse(URI.java:3024)
> at java.net.URI.<init>(URI.java:663)
> at java.net.URI.<init>(URI.java:764)
> at test.main(test.java:5)
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> res = //[:2:3:4:5:6:7:8]/
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> res = //[:2:3:4:5:6:7:8]/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-1346) [classlib][net] no
URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1346?page=comments#action_12438364 ]
Vladimir Ivanov commented on HARMONY-1346:
------------------------------------------
verified, thanks
> [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1346
> URL: http://issues.apache.org/jira/browse/HARMONY-1346
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vladimir Ivanov
> Assigned To: Paulex Yang
> Attachments: Harmony-1346.diff, URITest.patch
>
>
> The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony.
> =============== test.java ===================
> import java.net.URI;
> public class test {
> public static void main(String arg[]) throws Exception {
> System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null));
> }
> }
> =========================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
> java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.parseIPv6Reference(URI.java:3430)
> at java.net.URI$Parser.parseServer(URI.java:3180)
> at java.net.URI$Parser.parseAuthority(URI.java:3116)
> at java.net.URI$Parser.parseHierarchical(URI.java:3058)
> at java.net.URI$Parser.parse(URI.java:3024)
> at java.net.URI.<init>(URI.java:663)
> at java.net.URI.<init>(URI.java:764)
> at test.main(test.java:5)
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> res = //[:2:3:4:5:6:7:8]/
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> res = //[:2:3:4:5:6:7:8]/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-1346) [classlib][net] no URISyntaxException
for URI(null, ":2:3:4:5:6:7:8", "/", null)
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1346?page=all ]
Paulex Yang closed HARMONY-1346.
--------------------------------
Verified by Vladimir.
> [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1346
> URL: http://issues.apache.org/jira/browse/HARMONY-1346
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vladimir Ivanov
> Assigned To: Paulex Yang
> Attachments: Harmony-1346.diff, URITest.patch
>
>
> The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony.
> =============== test.java ===================
> import java.net.URI;
> public class test {
> public static void main(String arg[]) throws Exception {
> System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null));
> }
> }
> =========================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
> java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.parseIPv6Reference(URI.java:3430)
> at java.net.URI$Parser.parseServer(URI.java:3180)
> at java.net.URI$Parser.parseAuthority(URI.java:3116)
> at java.net.URI$Parser.parseHierarchical(URI.java:3058)
> at java.net.URI$Parser.parse(URI.java:3024)
> at java.net.URI.<init>(URI.java:663)
> at java.net.URI.<init>(URI.java:764)
> at test.main(test.java:5)
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> res = //[:2:3:4:5:6:7:8]/
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> res = //[:2:3:4:5:6:7:8]/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-1346) [classlib][net] no
URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1346?page=all ]
Paulex Yang resolved HARMONY-1346.
----------------------------------
Resolution: Fixed
Spark, updated patch applied at revision r450729, thanks a lot for this enhancement.
Vladimir, please verify the problem is fully resolved as you expected, thank you.
> [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1346
> URL: http://issues.apache.org/jira/browse/HARMONY-1346
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vladimir Ivanov
> Assigned To: Paulex Yang
> Attachments: Harmony-1346.diff, URITest.patch
>
>
> The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony.
> =============== test.java ===================
> import java.net.URI;
> public class test {
> public static void main(String arg[]) throws Exception {
> System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null));
> }
> }
> =========================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
> java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.parseIPv6Reference(URI.java:3430)
> at java.net.URI$Parser.parseServer(URI.java:3180)
> at java.net.URI$Parser.parseAuthority(URI.java:3116)
> at java.net.URI$Parser.parseHierarchical(URI.java:3058)
> at java.net.URI$Parser.parse(URI.java:3024)
> at java.net.URI.<init>(URI.java:663)
> at java.net.URI.<init>(URI.java:764)
> at test.main(test.java:5)
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> res = //[:2:3:4:5:6:7:8]/
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> res = //[:2:3:4:5:6:7:8]/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (HARMONY-1346) [classlib][net] no
URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1346?page=all ]
Paulex Yang reassigned HARMONY-1346:
------------------------------------
Assignee: Paulex Yang
> [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1346
> URL: http://issues.apache.org/jira/browse/HARMONY-1346
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vladimir Ivanov
> Assigned To: Paulex Yang
> Attachments: Harmony-1346.diff, URITest.patch
>
>
> The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony.
> =============== test.java ===================
> import java.net.URI;
> public class test {
> public static void main(String arg[]) throws Exception {
> System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null));
> }
> }
> =========================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
> java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.parseIPv6Reference(URI.java:3430)
> at java.net.URI$Parser.parseServer(URI.java:3180)
> at java.net.URI$Parser.parseAuthority(URI.java:3116)
> at java.net.URI$Parser.parseHierarchical(URI.java:3058)
> at java.net.URI$Parser.parse(URI.java:3024)
> at java.net.URI.<init>(URI.java:663)
> at java.net.URI.<init>(URI.java:764)
> at test.main(test.java:5)
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> res = //[:2:3:4:5:6:7:8]/
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> res = //[:2:3:4:5:6:7:8]/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-1346) [classlib][net] no
URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1346?page=all ]
Vladimir Ivanov updated HARMONY-1346:
-------------------------------------
Attachment: URITest.patch
unit test
> [classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1346
> URL: http://issues.apache.org/jira/browse/HARMONY-1346
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vladimir Ivanov
> Attachments: URITest.patch
>
>
> The method java.net.URI(null, ":2:3:4:5:6:7:8", "/", null) throws URISyntaxException on RI and create URI on Harmony.
> =============== test.java ===================
> import java.net.URI;
> public class test {
> public static void main(String arg[]) throws Exception {
> System.out.println("res = " + new URI(null, ":2:3:4:5:6:7:8", "/", null));
> }
> }
> =========================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -cp . -showversion test
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
> java.net.URISyntaxException: Malformed IPv6 address at index 3: //[:2:3:4:5:6:7:8]/
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.parseIPv6Reference(URI.java:3430)
> at java.net.URI$Parser.parseServer(URI.java:3180)
> at java.net.URI$Parser.parseAuthority(URI.java:3116)
> at java.net.URI$Parser.parseHierarchical(URI.java:3058)
> at java.net.URI$Parser.parse(URI.java:3024)
> at java.net.URI.<init>(URI.java:663)
> at java.net.URI.<init>(URI.java:764)
> at test.main(test.java:5)
> C:\tmp\tmp17>C:\harmony\classlib1.5\deploy\jdk\jre\bin\java.exe -cp . -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> res = //[:2:3:4:5:6:7:8]/
> C:\tmp\tmp17>C:\harmony\drlvm1.5\build\win_ia32_msvc_debug\deploy\jre\bin\java -Dvm.assert_dialog=false -cp . -showversion test
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r438321, (Aug 30 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> res = //[:2:3:4:5:6:7:8]/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira