-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 17, 19, 20
-
b24
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8297394 | 17.0.7-oracle | Dukebot | P3 | Resolved | Fixed | b01 |
JDK-8299473 | 17.0.7 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8297395 | 11.0.19-oracle | Dukebot | P3 | Resolved | Fixed | b01 |
JDK-8300217 | 11.0.19 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8297266 | 8u371 | Dukebot | P3 | Resolved | Fixed | b01 |
r:~$ cat URLPermissionTest.java
import java.net.*;
public class URLPermissionTest {
public static void main(String[] args) throws Exception {
String title = "https://IOU.COM";
URL u = new URL(title);
URLPermission perm = new URLPermission(title);
}
}
r:~$ java -Duser.language=tr URLPermissionTest
Exception in thread "main" java.lang.IllegalArgumentException: Invalid
characters in hostname
at java.base/java.net.HostPortrange.toLowerCase(HostPortrange.java:189)
at java.base/java.net.HostPortrange.<init>(HostPortrange.java:150)
at
java.base/java.net.URLPermission$Authority.<init>(URLPermission.java:528)
at java.base/java.net.URLPermission.parseURI(URLPermission.java:496)
at java.base/java.net.URLPermission.init(URLPermission.java:205)
at java.base/java.net.URLPermission.<init>(URLPermission.java:185)
at java.base/java.net.URLPermission.<init>(URLPermission.java:242)
at URLPermissionTest.main(URLPermissionTest.java:6)
This issue is reproducible on latest JDK , across all release platforms.
- backported by
-
JDK-8297266 URLPermission constructor exception when using tr locale
- Resolved
-
JDK-8297394 URLPermission constructor exception when using tr locale
- Resolved
-
JDK-8297395 URLPermission constructor exception when using tr locale
- Resolved
-
JDK-8299473 URLPermission constructor exception when using tr locale
- Resolved
-
JDK-8300217 URLPermission constructor exception when using tr locale
- Resolved
- relates to
-
JDK-8297569 URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378
- Closed
- links to
-
Commit openjdk/jdk11u-dev/84583683
-
Commit openjdk/jdk17u-dev/0aa62ae7
-
Commit openjdk/jdk/ff2c9876
-
Review openjdk/jdk11u-dev/1650
-
Review openjdk/jdk17u-dev/1007
-
Review openjdk/jdk/10903