<AWT Dev> [OpenJDK 2D-Dev] [9] Review Request: 8074028 Remove API references to java.awt.peer
Vadim Pakhnushev
vadim.pakhnushev at oracle.com
Thu Mar 5 12:53:00 UTC 2015
On 05.03.2015 1:30, Vadim Pakhnushev wrote:
> On 04/03/15 15:37, Sergey Bylokhov wrote:
>> http://cr.openjdk.java.net/~serb/8074028/webrev.05/src/java.desktop/share/classes/java/awt/MenuComponent.java.sdiff.html
>>
> What's the point of ComponentPeer peer = this.peer; ?
> Why not just use peer as in other places in this file?
I didn't realize that this.peer can be changed from another thread after
null check, my bad.
Thanks,
Vadim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150305/2150775a/attachment.html>
More information about the awt-dev
mailing list