Hi Petr,

I'm not really an expert in this code, but technically all the changes look fine to me. Approved.

--
best regards,
Anthony

On 6/5/2014 11:59 AM, Petr Pchelko wrote:
Hello,

Could somebody please make a second review on this simple cleanup?

Thank you.
With best regards. Petr.

On 02 июня 2014 г., at 17:20, Sergey Bylokhov
<[email protected] <mailto:[email protected]>> wrote:

On 6/2/14 5:13 PM, Sergey Bylokhov wrote:
On 6/2/14 5:03 PM, Petr Pchelko wrote:
Hello, Sergey.

Should we use getPopup() name, since it should be simple accessor?
I thought about it. The HEAVYWEIGHT_POPUP constant is
package-private, so if we use
simple getPopup we would need a second method
"getHeavyweightPopupType". So I was
not quite sure which is better - use 2 methods or merge them in a
single one. I can change
it if you think 2 methods would be better.
Then why do not callPopupFactory.getHeavyWeightPopup() directly?
Look like getPopup() covers headless situation as well. Then the fix
looks good.
Thanks.

With best regards. Petr.

On 02 июня 2014 г., at 16:54, Sergey Bylokhov
<[email protected] <mailto:[email protected]>> wrote:

Hi,Petr.
Should we use getPopup() name, since it should be simple accessor?

On 6/2/14 4:50 PM, Petr Pchelko wrote:
Hello, AWT Team.

Please review a simple cleanup fix for the issue:
https://bugs.openjdk.java.net/browse/JDK-8044516
The fix is available at:
http://cr.openjdk.java.net/~pchelko/9/8044516/webrev/

No need to go through native to call a method. Accessor pattern works
fine here, so we can avoid loading a native library.

Thank you.
With best regards. Petr.


--
Best regards, Sergey.



--
Best regards, Sergey.


--
Best regards, Sergey.

Reply via email to