hg: jdk7/jdk7/jdk: 32 new changesets

yuri.nesterenko at sun.com yuri.nesterenko at sun.com
Wed Mar 26 20:59:37 PDT 2008


Changeset: e0d783c556fc
Author:    son
Date:      2008-03-13 15:36 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/e0d783c556fc

6595651: Focus transfers broken for applications embedding AWT across processes
Summary: Now we allow cross-process focus requests if focus is in embedder's process.
Reviewed-by: ant

! src/windows/native/sun/windows/awt_Component.cpp
! src/windows/native/sun/windows/awt_Frame.cpp
! src/windows/native/sun/windows/awt_Toolkit.cpp
! src/windows/native/sun/windows/awt_Toolkit.h

Changeset: 367edeff526e
Author:    son
Date:      2008-03-13 16:12 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/367edeff526e

6616095: AWT's WindowDisposerRecord keeps AppContext alive too long
Summary: WindowDisposerRecord should not keep strong reference to AppContext.
Reviewed-by: art

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

Changeset: e4e71142754b
Author:    son
Date:      2008-03-13 16:19 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/e4e71142754b

6632140: minor refactoring for XWM
Summary: code cleanup and generificaion for XWM
Reviewed-by: anthony

! src/solaris/classes/sun/awt/X11/XFramePeer.java
! src/solaris/classes/sun/awt/X11/XNETProtocol.java
! src/solaris/classes/sun/awt/X11/XToolkit.java
! src/solaris/classes/sun/awt/X11/XWM.java

Changeset: dc7dfc7d15ba
Author:    son
Date:      2008-03-13 16:27 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/dc7dfc7d15ba

6592751: EmbeddedFrame disposal is fragile and breaks clean AppContext termination
Summary: AppContext.dispose() should be ready to get exceptions during disposal of toplevels.  Also now we mark windows peers as destroyed when native object has been destroyed.
Reviewed-by: art

! src/share/classes/sun/awt/AppContext.java
! src/windows/classes/sun/awt/windows/WObjectPeer.java
! src/windows/native/sun/windows/awt.h
! src/windows/native/sun/windows/awt_Component.cpp
! src/windows/native/sun/windows/awt_Object.cpp
! src/windows/native/sun/windows/awt_Object.h

Changeset: 619d2d592b88
Author:    son
Date:      2008-03-13 16:32 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/619d2d592b88

6603256: Startup: Defer initialization of DropTarget's flavorMap
Summary: SystemFlavorMap is lazily initialized now.
Reviewed-by: uta

! src/share/classes/java/awt/datatransfer/SystemFlavorMap.java
! src/share/classes/java/awt/dnd/DropTarget.java

Changeset: f3377ab93ee8
Author:    son
Date:      2008-03-13 16:42 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/f3377ab93ee8

6607163: Linux: Cannot copy image from Java to OpenOffice
Summary: TARGETS should have type ATOM
Reviewed-by: denis

! src/solaris/classes/sun/awt/X11/XSelection.java

Changeset: bbd8e20d5052
Author:    son
Date:      2008-03-13 16:47 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/bbd8e20d5052

6636369: sun.awt.datatransfer.DataTransferer contains double-check idiom
Summary: double-check has been removed
Reviewed-by: dav

! src/share/classes/sun/awt/datatransfer/DataTransferer.java

Changeset: c9ee9428aea9
Author:    son
Date:      2008-03-13 16:51 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/c9ee9428aea9

6636331: ConcurrentModificationException in AppContext code
Summary: Added synchronization to AppContext.getAppContexts()
Reviewed-by: art

! src/share/classes/sun/awt/AppContext.java

Changeset: 86a5780cad99
Author:    son
Date:      2008-03-13 16:54 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/86a5780cad99

6636370: minor corrections and simplification of code in AppContext
Summary: mainAppContext, isDisposed, and numAppContexts has beem made volatile.  mostRecentThreadAppContext has been rewritten using ThreadLocal.
Reviewed-by: art

! src/share/classes/sun/awt/AppContext.java

Changeset: 026144f0d26a
Author:    son
Date:      2008-03-13 16:56 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/026144f0d26a

6636368: XAtom contains unused code
Summary: unused code has been removed
Reviewed-by: dcherepanov

! src/solaris/classes/sun/awt/X11/XAtom.java

Changeset: 63f02cc8ff3d
Author:    son
Date:      2008-03-13 17:04 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/63f02cc8ff3d

6645885: small refactoring for XContentWindow
Summary: move createContent() method from XDecoratedPeer to XContentWindow, so only XContentWindow keep information about the way we position it.
Reviewed-by: anthony

! src/solaris/classes/sun/awt/X11/XContentWindow.java
! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java

Changeset: d9fb87af8b07
Author:    son
Date:      2008-03-13 17:08 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/d9fb87af8b07

6645856: static field XWindowPeer.defaultFont hides XWindow.defaultFont
Summary: unnedded code has been removed.  Added getter for XWindow.defaultFont to initialize it lazily.
Reviewed-by: dav

! src/solaris/classes/sun/awt/X11/XComponentPeer.java
! src/solaris/classes/sun/awt/X11/XMenuItemPeer.java
! src/solaris/classes/sun/awt/X11/XPopupMenuPeer.java
! src/solaris/classes/sun/awt/X11/XTrayIconPeer.java
! src/solaris/classes/sun/awt/X11/XWindow.java
! src/solaris/classes/sun/awt/X11/XWindowPeer.java

Changeset: 176e1fe7dead
Author:    son
Date:      2008-03-13 17:14 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/176e1fe7dead

6538066: XSelection should be more passive
Summary: Now only XClipboard know about XSelection, and XSelection knows nothing about XClipboard.
Reviewed-by: uta, denis

! src/solaris/classes/sun/awt/X11/MotifDnDConstants.java
! src/solaris/classes/sun/awt/X11/MotifDnDDropTargetProtocol.java
+ src/solaris/classes/sun/awt/X11/OwnershipListener.java
! src/solaris/classes/sun/awt/X11/XClipboard.java
! src/solaris/classes/sun/awt/X11/XDnDConstants.java
! src/solaris/classes/sun/awt/X11/XSelection.java

Changeset: fa0dc97ef9a0
Author:    dcherepanov
Date:      2008-03-14 17:23 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/fa0dc97ef9a0

6522731: Location of the frame changes,when the frame is resized & non-resized.
Summary: XMoveWindow() should use shell's location
Reviewed-by: son

! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java

Changeset: 296b6e29a99d
Author:    dcherepanov
Date:      2008-03-14 18:27 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/296b6e29a99d

6612497: api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15
Summary: Partial rollback changes for 6567564 in the Component.getGC method
Reviewed-by: art, son

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

Changeset: 5ac897d182a6
Author:    dcherepanov
Date:      2008-03-14 18:50 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/5ac897d182a6

6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms
Summary: AWT XEmbed shouldn't use _SUN_XEMBED_START message
Reviewed-by: art, son

! src/solaris/classes/sun/awt/X11/XEmbedCanvasPeer.java
! src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java
! src/solaris/classes/sun/awt/X11/XEmbedHelper.java
! src/solaris/classes/sun/awt/X11/XEmbedServerTester.java

Changeset: 92e3f57c933b
Author:    dcherepanov
Date:      2008-03-14 20:40 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/92e3f57c933b

6524352: support for high-resolution mouse wheel
Summary: added support for high-resolution mouse wheel
Reviewed-by: dav, son

! src/share/classes/java/awt/Component.java
! src/share/classes/java/awt/Container.java
! src/share/classes/java/awt/event/MouseWheelEvent.java
! src/windows/native/sun/windows/awt_Component.cpp
! src/windows/native/sun/windows/awt_Component.h
+ test/java/awt/event/MouseEvent/SmoothWheel/SmoothWheel.java

Changeset: 15ba7093f8e6
Author:    dcherepanov
Date:      2008-03-14 22:00 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/15ba7093f8e6

6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards.
Summary: WS_DISABLED style should be used to fix some modality bugs
Reviewed-by: art, son

! src/windows/native/sun/windows/awt_Component.cpp
! src/windows/native/sun/windows/awt_Dialog.cpp
! src/windows/native/sun/windows/awt_Window.cpp
! src/windows/native/sun/windows/awt_Window.h
+ test/java/awt/Modal/WsDisabledStyle/CloseBlocker/CloseBlocker.java
+ test/java/awt/Modal/WsDisabledStyle/OverBlocker/OverBlocker.java
+ test/java/awt/Modal/WsDisabledStyle/Winkey/Winkey.java

Changeset: 9f51e4e1251e
Author:    anthony
Date:      2008-03-18 12:04 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/9f51e4e1251e

6608764: PropertyChangeListeners machinery should have a better locking scheme
Summary: Change to use a private final object java.awt.Component.changeSupportLock for locking purposes instead of using this
Reviewed-by: son, ant

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

Changeset: 9b6848cf363c
Author:    anthony
Date:      2008-03-18 13:53 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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

Changeset: 8a57a0be2a97
Author:    anthony
Date:      2008-03-18 16:19 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/8a57a0be2a97

6589527: Window and Frame instances can hide their "Applet Warning"
Summary: Additional constraints have been added for the setBounds() operation.
Reviewed-by: son, art

! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
! src/solaris/classes/sun/awt/X11/XDialogPeer.java
! src/solaris/classes/sun/awt/X11/XEmbeddedFramePeer.java
! src/solaris/classes/sun/awt/X11/XFramePeer.java
! src/solaris/classes/sun/awt/X11/XWindowPeer.java
! src/solaris/classes/sun/awt/motif/MDialogPeer.java
! src/solaris/classes/sun/awt/motif/MEmbeddedFramePeer.java
! src/solaris/classes/sun/awt/motif/MFramePeer.java
! src/solaris/classes/sun/awt/motif/MWindowPeer.java
! src/windows/classes/sun/awt/windows/WDialogPeer.java
! src/windows/classes/sun/awt/windows/WEmbeddedFramePeer.java
! src/windows/classes/sun/awt/windows/WFramePeer.java
! src/windows/classes/sun/awt/windows/WWindowPeer.java
! src/windows/native/sun/windows/awt_Window.cpp
! src/windows/native/sun/windows/awt_Window.h

Changeset: 241fd18949db
Author:    anthony
Date:      2008-03-20 11:09 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/241fd18949db

4993545: NativeInLightFixer adds asynchronousity
Summary: All the hooks related to the NativeInLightFixer have been moved to the HW/LW mixing handling methods. The NativeInLightFixer itself has been removed.
Reviewed-by: son, alexp

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

Changeset: 51c761339b1c
Author:    ant
Date:      2008-03-19 16:23 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/51c761339b1c

6567410: PIT : java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java fails
Summary: A filter flag has been added to the HCBT focus hook.
Reviewed-by: dcherepanov

! src/windows/native/sun/windows/awt_Window.cpp

Changeset: 810904060acf
Author:    ant
Date:      2008-03-20 14:26 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/810904060acf

Merge


Changeset: 92e9ac30618a
Author:    son
Date:      2008-03-20 16:21 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/92e9ac30618a

6630878: clean target in sun/xawt is incomplete
Summary: clean target should remove .gen_icons
Reviewed-by: yan

! make/sun/xawt/Makefile

Changeset: 82233ac3d09f
Author:    ant
Date:      2008-03-20 18:06 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/82233ac3d09f

6598089: JDK 7: AWT often goes into busy loop when showing dialog
Summary: Preventing focus from getting in an endless loop.
Reviewed-by: son

! src/share/classes/java/awt/DefaultKeyboardFocusManager.java
+ test/java/awt/Focus/RestoreFocusOnDisabledComponentTest/RestoreFocusOnDisabledComponentTest.java

Changeset: dbff1fcf1767
Author:    ant
Date:      2008-03-21 09:54 +0300
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/dbff1fcf1767

6599270: Using EmbeddedFrame in SWT leads to a hang
Summary: Excluding EmbeddedFrame from the workaround of activating a toplevel in not foreground process.
Reviewed-by: son

! src/windows/native/sun/windows/awt_Frame.cpp

Changeset: 0f955581dc0b
Author:    yan
Date:      2008-03-24 06:33 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/0f955581dc0b

Merge





More information about the jdk7-dev mailing list