-
Bug
-
Resolution: Fixed
-
P3
-
5.0, 6
-
beta
-
generic, x86, itanium
-
generic, linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2127017 | 5.0u7 | Yujiang Wang | P3 | Resolved | Fixed | b01 |
FULL PRODUCT VERSION :
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux ulysses 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i586 unknown
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The directory name part of URL is the one that "Day" of the Chinese character was shown by the ShiftJIS character-code.
class Bug {
public static void main(String[] args) throws Exception {
java.net.URL url = new java.net.URL("http://www.example.com/%93%fa/");
java.net.URLConnection uc = url.openConnection();
uc.connect();
}
}
results in:
Exception in thread "main" java.lang.IllegalArgumentException
at sun.net.www.ParseUtil.decode(ParseUtil.java:179)
at sun.net.www.ParseUtil.toURI(ParseUtil.java:253)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:738)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:669)
at Bug.main(Bug.java:5)
REPRODUCIBILITY :
This bug can be reproduced always.
Release Regression From : 1.4.2
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
###@###.### 2005-05-24 03:39:16 GMT
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux ulysses 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i586 unknown
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The directory name part of URL is the one that "Day" of the Chinese character was shown by the ShiftJIS character-code.
class Bug {
public static void main(String[] args) throws Exception {
java.net.URL url = new java.net.URL("http://www.example.com/%93%fa/");
java.net.URLConnection uc = url.openConnection();
uc.connect();
}
}
results in:
Exception in thread "main" java.lang.IllegalArgumentException
at sun.net.www.ParseUtil.decode(ParseUtil.java:179)
at sun.net.www.ParseUtil.toURI(ParseUtil.java:253)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:738)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:669)
at Bug.main(Bug.java:5)
REPRODUCIBILITY :
This bug can be reproduced always.
Release Regression From : 1.4.2
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
###@###.### 2005-05-24 03:39:16 GMT
- backported by
-
JDK-2127017 REGRESSION: URLConnection.connect() throws Exception with non UTF-8 char
- Resolved
- duplicates
-
JDK-6274659 ResponseCache get and put method decode original URL
- Closed
- relates to
-
JDK-6181108 double encoded URL passed to ResponseCache
- Resolved
-
JDK-6306697 PIT: CookieManager/TestCookieManager/TestCookieManager3 failed in Mustang PIT b47
- Closed