mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-26 07:40:09 +00:00
8073667: URL should not use service loader to lookup the jar protocol handler
Reviewed-by: alanb
This commit is contained in:
parent
b7d0702188
commit
f71f63f2f2
@ -1248,7 +1248,7 @@ public final class URL implements java.io.Serializable {
|
||||
checkedWithFactory = true;
|
||||
}
|
||||
|
||||
if (handler == null) {
|
||||
if (handler == null && !protocol.equalsIgnoreCase("jar")) {
|
||||
handler = lookupViaProviders(protocol);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user