<AWT Dev> [11] Review Request: 8203224 java.awt.desktop.*Event classes could not be instantiated if Desktop feature is not supported

Krishna Addepalli krishna.addepalli at oracle.com
Tue Jun 5 05:36:12 UTC 2018


Looks fine.


> On 05-Jun-2018, at 2:49 AM, Phil Race <philip.race at oracle.com> wrote:
> 
> +1.
> 
> -phil.
> 
> On 05/24/2018 09:48 PM, Sergey Bylokhov wrote:
>> Hello.
>> Please review the fix for jdk11.
>> 
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8203224
>> Webrev: http://cr.openjdk.java.net/~serb/8203224/webrev.00
>> 
>> All events in the "java.awt.desktop" package use the instance of Desktop as a source of the event:
>> http://cr.openjdk.java.net/~serb/8203224/webrev.00/src/java.desktop/share/classes/java/awt/desktop/AppEvent.java.sdiff.html 
>> 
>> The problem is that "Desktop.getDesktop()" can throw an exceptions in some cases. These exceptions are not specified in the event classes.
>> 
>> 
>> I'll create CSR after the technical review.
>> 
> 



More information about the awt-dev mailing list