<AWT Dev> [9] Review request for 8139050 -[AWTView draggingEnded:]: unrecognized selector message during drag and drop

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Oct 8 16:32:19 UTC 2015


Hi, Alexander.
I suggest to investigate why we try to call a methods of our parent 
class when we know that these methods do not exist.

On 08.10.15 11:51, Alexander Scherbatiy wrote:
> On 10/7/2015 5:38 PM, Alexander Scherbatiy wrote:
>> On 10/7/2015 5:25 PM, Semyon Sadetsky wrote:
>>> Hi Alexander,
>>>
>>> I wonder, what is the reason for main/othervm in the test if it
>>> starts a separate process anyway?
>>
>>     I do not have any particular reason to use it.
>
>      I removed the othervm option from the run tag:
>         http://cr.openjdk.java.net/~alexsch/8139050/webrev.01
>
>      Thanks,
>      Alexandr.
>>
>>   Thanks,
>>   Alexandr.
>>
>>>
>>> --Semyon
>>>
>>>
>>> On 10/7/2015 5:09 PM, Alexander Scherbatiy wrote:
>>>>
>>>> Hello,
>>>>
>>>> Could you review the fix:
>>>>   bug: https://bugs.openjdk.java.net/browse/JDK-8139050
>>>>   webrev: http://cr.openjdk.java.net/~alexsch/8139050/webrev.00
>>>>
>>>>   [super respondsToSelector:@selector(draggingEnded:)] always
>>>> returns true because AWTView instance responds to -draggingEnded:
>>>> selector.
>>>>   The [[AWTView superclass]
>>>> instancesRespondToSelector:@selector(draggingEnded:)] should be used
>>>> instead.
>>>>
>>>>
>>>> Thanks,
>>>> Alexandr.
>>>>
>>>
>>
>


-- 
Best regards, Sergey.


More information about the awt-dev mailing list