<AWT Dev> [8] Review Request: 8027479 [macosx] Appletviewer is broken after the fix 8014718

Anthony Petrov anthony.petrov at oracle.com
Wed Nov 20 11:55:51 PST 2013


+1.

--
best regards,
Anthony

On 11/20/2013 08:28 PM, Leonid Romanov wrote:
> Ok, the fix is good then.
>
> On Nov 20, 2013, at 8:04 PM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
>
>> Source of the event is used, which is the same thing.
>>
>> On 20.11.2013 20:00, Leonid Romanov wrote:
>>> Hello,
>>> I see you’ve decided not to use event’s target. What is the reason for this decision?
>>>
>>> On Nov 20, 2013, at 7:54 PM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
>>>
>>>> Hello.
>>>> Please review the fix for jdk 8. fix will be backported to 7u-dev.
>>>> The problem is that appletviewer and applet have different appcontext, and when we postEvent to the applet inside appletviwer we reuse appconext from lwwindowpeer which is bound to appletviwer's appcontext.
>>>> I reuse  LWToolkit.postEvent, which gets appcontext from the source of the event.
>>>>
>>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8027479
>>>> Webrev can be found at: http://cr.openjdk.java.net/~serb/8027479/webrev.00
>>>>
>>>> --
>>>> Best regards, Sergey.
>>>>
>>
>>
>> --
>> Best regards, Sergey.
>>
>


More information about the awt-dev mailing list