< prev index next >

src/java.base/share/classes/java/net/URL.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn

*** 1,7 **** /* ! * Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 39,50 **** import java.util.Locale; import java.util.NoSuchElementException; import java.util.ServiceConfigurationError; import java.util.ServiceLoader; ! import jdk.internal.misc.JavaNetURLAccess; ! import jdk.internal.misc.SharedSecrets; import sun.security.util.SecurityConstants; import sun.security.action.GetPropertyAction; /** * Class {@code URL} represents a Uniform Resource --- 39,50 ---- import java.util.Locale; import java.util.NoSuchElementException; import java.util.ServiceConfigurationError; import java.util.ServiceLoader; ! import jdk.internal.access.JavaNetURLAccess; ! import jdk.internal.access.SharedSecrets; import sun.security.util.SecurityConstants; import sun.security.action.GetPropertyAction; /** * Class {@code URL} represents a Uniform Resource
< prev index next >