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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jun 19 18:35:35 UTC 2018


On 19/06/2018 11:05, Phil Race 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 ..

Not sure that we should add this call now, since this spec was never 
strictly followed, we never called it for standalone apps directly, only 
from the plugin or webstart. So I guess the change in specification to 
align with the implementation is better than the opposite step.


-- 
Best regards, Sergey.


More information about the awt-dev mailing list