equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
39 import java.util.Locale; |
39 import java.util.Locale; |
40 import java.util.NoSuchElementException; |
40 import java.util.NoSuchElementException; |
41 import java.util.ServiceConfigurationError; |
41 import java.util.ServiceConfigurationError; |
42 import java.util.ServiceLoader; |
42 import java.util.ServiceLoader; |
43 |
43 |
44 import jdk.internal.misc.JavaNetURLAccess; |
44 import jdk.internal.access.JavaNetURLAccess; |
45 import jdk.internal.misc.SharedSecrets; |
45 import jdk.internal.access.SharedSecrets; |
46 import sun.security.util.SecurityConstants; |
46 import sun.security.util.SecurityConstants; |
47 import sun.security.action.GetPropertyAction; |
47 import sun.security.action.GetPropertyAction; |
48 |
48 |
49 /** |
49 /** |
50 * Class {@code URL} represents a Uniform Resource |
50 * Class {@code URL} represents a Uniform Resource |