<AWT Dev> hg: jdk7/awt/jdk: 5 new changesets

anthony.petrov at sun.com anthony.petrov at sun.com
Tue Mar 18 05:09:26 PDT 2008

Changeset: 9b6848cf363c
Author:    anthony
Date:      2008-03-18 13:53 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/9b6848cf363c

6613927: Compilation of splashscreen png library failed on Ubuntu 7.04 (64bit)
Summary: The macro PNG_NO_MMX_CODE should be defined when compiling on 64bit Linux
Reviewed-by: yan, avu

! make/sun/splashscreen/Makefile

Changeset: fd7f2562ea00
Author:    anthony
Date:      2008-03-18 14:10 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/fd7f2562ea00

6607660: java.awt.Container.getMouseEventTargetImpl should be invoked while holding the TreeLock
Summary: The body of the method has been wrapped into the synchronized (getTreeLock()) { } block.
Reviewed-by: son, art

! src/share/classes/java/awt/Container.java

Changeset: e8b40b676b89
Author:    anthony
Date:      2008-03-18 14:20 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/e8b40b676b89

6637796: setBounds doesn't enlarge Component
Summary: Added the areBoundsValid() method that verifies whether the current bounds of the component are valid. Using the isValid() method for this purpose previously was incorrect.
Reviewed-by: son, art

! src/share/classes/java/awt/Component.java
+ test/java/awt/Mixing/ValidBounds.java

Changeset: 9306c5d6344f
Author:    anthony
Date:      2008-03-18 14:36 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/9306c5d6344f

6304277: PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32
Summary: The Window.closeSplashScreen() method now verified the boolean flag isTrayIconWindow, and returns if it is true.
Reviewed-by: son, dcherepanov

! src/share/classes/java/awt/Window.java

Changeset: fc0164db7a3b
Author:    anthony
Date:      2008-03-18 15:07 +0300
URL:       http://hg.openjdk.java.net/jdk7/awt/jdk/rev/fc0164db7a3b

6581927: REG : Non focusable frame can be minimized to very small & Frame icon can be seen on frame buttons.
Summary: The SWP_NOSENDCHANGING flag should not be passed to the ::SetWindowPos() WinAPI function when we receive the WM_MOUSEMOVE message while manually handling the resizing of non-focusable frames.
Reviewed-by: son, ant

! src/windows/native/sun/windows/awt_Frame.cpp
+ test/java/awt/Focus/NonFocusableResizableTooSmall/NonFocusableResizableTooSmall.java

More information about the awt-dev mailing list