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.

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.




--
Best regards, Sergey.

Reply via email to