<AWT Dev> [8] Review request for CR 8014721 TEST_BUG: java/awt/TrayIcon/DragEventSource/DragEventSource.java fails with java.lang.UnsupportedOperationException

Anthony Petrov anthony.petrov at oracle.com
Fri May 17 02:24:52 PDT 2013


I see that the SystemTray.isSupported() is a static method actually. 
Could you please call it explicitly as a static method instead of 
calling it on a (not-yet-created) instance?

--
best regards,
Anthony

On 05/17/2013 01:20 PM, Anthony Petrov wrote:
> Hi Konstantin,
>
> Did you run the test after your modification? I believe it should now
> fail with an NPE.
>
> --
> best regards,
> Anthony
>
> On 05/16/2013 02:19 PM, Konstantin Shefov wrote:
>> Hello,
>>
>> Please review a fix for the issue:
>>
>> 8014721 TEST_BUG: java/awt/TrayIcon/DragEventSource/DragEventSource.java
>> fails with java.lang.UnsupportedOperationException
>>
>> http://bugs.sun.com/view_bug.do?bug_id=8014721
>>
>> The webrev is: http://cr.openjdk.java.net/~kshefov/8014721/webrev.00/
>>
>> Thanks,
>> Konstantin


More information about the awt-dev mailing list