Hi Sergey,

1. There's some change in RepaintArea logic in LWRepaintArea.java. I'd suggest to push these changes as a separate fix.

2. LWWindowPeer.java
 46     public enum PeerType {

Why should it not be static?

3.
 132         LWWindowPeer ownerPeer = (owner != null) ? (LWWindowPeer) 
AWTAccessor
 133                 .getComponentAccessor().getPeer(owner) : null;

This could be better formatted as:

... owner == null ? null :<CR>
(LWWindowPeer) AWTAccessor...

I.e. to avoid breaking the AWTAccessor call into multiple lines. The same at lines 396, 1166, and 1279.

The rest of the fix looks fine to me.

--
best regards,
Anthony

On 09/12/13 18:53, Sergey Bylokhov wrote:
Hello,
Please review the fix for jdk 8.
- Documentation updated
- Component.getPeer() replaced with AWTAccessor.
- Generics code updated.
- For some methods access was changed to weaker
- SuppressWarnings were added when needed.
Plus some small general cleanup.

Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8005255
Webrev can be found at: http://cr.openjdk.java.net/~serb/8005255/webrev.00/

Reply via email to