<AWT Dev> [11] Review Request: 8205324 Part of java.awt.Desktop.browse(URI) spec is outdated after support of applets was removed

Phil Race philip.race at oracle.com
Tue Jun 19 18:05:54 UTC 2018

On 06/19/2018 11:04 AM, Sergey Bylokhov wrote:
> This is a problem in our current implementation+spec, because the 
> applet api still exists and the method in question should call 
> showDocument() from AppletContext which is returned by 
> "Applet.getAppletContext()" as specified, the problem is that it is 
> never called so we does not follow our spec here.

So we should call it ..


> On 19/06/2018 10:54, Phil Race wrote:
>> I am not sure about some parts of this. The applet API exists and may 
>> be implemented
>> by application level code and so whilst the parts that relate to the 
>> browser and webstart may
>> not apply, the part that says call AppletContext.showDocument() may 
>> still apply.
>> What the application level code does with that is up to them of course.
>> -phil.
>> On 6/19/2018 10:42 AM, Sergey Bylokhov wrote:
>>> Hello.
>>> Please review the fix for jdk11.
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8205324
>>> Webrev: http://cr.openjdk.java.net/~serb/8205324/webrev.00
>>> CSR: https://bugs.openjdk.java.net/browse/JDK-8205355
>>> This fix is a part of the effort to drop support of 
>>> applets/webstart. This change will delete part of the spec in 
>>> java.awt.Desktop.browse(URI) which currently is a no-op. This code 
>>> used sun.awt.DesktopBrowse which previously was initialized by the 
>>> plugin/webstart or appletviewer.

More information about the awt-dev mailing list