RFR: 8210766: Remove obsolete qualified export sun.net.www to java.desktop

mandy chung mandy.chung at oracle.com
Fri Sep 14 22:00:44 UTC 2018


+1

Mandy

On 9/14/18 2:48 PM, Phil Race wrote:
> bug : https://bugs.openjdk.java.net/browse/JDK-8210766
>
> The sun.applet implementation was removed a few days ago,
> see http://hg.openjdk.java.net/jdk/client/rev/26a17d160081
> This removed AppletClassLoader which consumed a class in sun.net.www
> and thus needed a qualified export to java.desktop from java.base.
> Now we don't need that qualified export any more .. so trivial diff 
> below :
>
> diff --git a/src/java.base/share/classes/module-info.java 
> b/src/java.base/share/classes/module-info.java
> --- a/src/java.base/share/classes/module-info.java
> +++ b/src/java.base/share/classes/module-info.java
> @@ -234,7 +234,6 @@
>          jdk.jconsole,
>          java.net.http;
>      exports sun.net.www to
> -        java.desktop,
>          java.net.http,
>          jdk.jartool;
>      exports sun.net.www.protocol.http to
>
> -phil.
>



More information about the core-libs-dev mailing list