hg: jdk7/tl/jdk: 66 new changesets

tim.bell at sun.com tim.bell at sun.com
Fri May 23 11:35:17 PDT 2008


Changeset: 94638b3696a6
Author:    peterz
Date:      2008-04-03 16:41 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/94638b3696a6

4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
Summary: Both POST and GET can now be processed asynchronously; PageLoader refactored
Reviewed-by: gsm

! src/share/classes/javax/swing/JEditorPane.java
+ test/javax/swing/JEditorPane/bug4714674.java

Changeset: 56646502accb
Author:    peterz
Date:      2008-04-07 13:07 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/56646502accb

4765383: JTextArea.append(String) not thread safe
Summary: Several swing.text methods are not marked thread-safe anymore.
Reviewed-by: gsm

! src/share/classes/javax/swing/JEditorPane.java
! src/share/classes/javax/swing/JTextArea.java
! src/share/classes/javax/swing/JTextPane.java
! src/share/classes/javax/swing/text/JTextComponent.java

Changeset: eecc88fb2430
Author:    stayer
Date:      2008-04-11 16:25 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/eecc88fb2430

6624717: Corrupted combo box, GTK L&F, Ubuntu 7.10
Reviewed-by: peterz

! src/solaris/native/sun/awt/gtk2_interface.c

Changeset: 147803acf437
Author:    mlapshin
Date:      2008-04-14 16:41 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/147803acf437

6612531: api/javax_swing/ScrollPaneLayout/index.html#xxxLayoutSize (ScrollPaneLayout2024) throws NPE
Summary: Added a check for the NPE
Reviewed-by: alexp

! src/share/classes/javax/swing/ScrollPaneLayout.java
+ test/javax/swing/JScrollPane/6612531/bug6612531.java

Changeset: dd66920b2d51
Author:    mlapshin
Date:      2008-04-18 18:21 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/dd66920b2d51

6675802: Regression: heavyweight popups cause SecurityExceptions in applets
Summary: The problem code in Popup class is surrounded by AccessController.doPrivileged()
Reviewed-by: alexp

! src/share/classes/javax/swing/Popup.java
+ test/javax/swing/JPopupMenu/6675802/bug6675802.java

Changeset: 40414219305f
Author:    mlapshin
Date:      2008-04-23 18:06 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/40414219305f

6691503: Malicious applet can show always-on-top popup menu which has whole screen size
Summary: The fix for 6675802 is replaced by a try-catch clause that catches SequrityExceptions for applets.
Reviewed-by: alexp

! src/share/classes/javax/swing/Popup.java
+ test/javax/swing/JPopupMenu/6691503/bug6691503.java

Changeset: a15dae99414c
Author:    mlapshin
Date:      2008-04-24 05:58 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/a15dae99414c

Merge


Changeset: a883bd215e94
Author:    mlapshin
Date:      2008-04-29 06:30 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/a883bd215e94

Merge


Changeset: de9e902b1f24
Author:    dav
Date:      2008-03-24 18:24 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/de9e902b1f24

6638872: invalid links
Summary: removed invalid links
Reviewed-by: dcherepanov

! src/share/classes/java/awt/event/TextEvent.java
! src/share/classes/java/awt/event/TextListener.java

Changeset: 58c90502785d
Author:    dav
Date:      2008-03-25 15:16 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/58c90502785d

6610244: modal dialog closes with fatal error if -Xcheck:jni is set
Summary: obtain WWindowPeer class every time it is required
Reviewed-by: art

! 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/Dialog/CrashXCheckJni/CrashXCheckJni.java

Changeset: f72baf3b4419
Author:    ant
Date:      2008-03-24 15:51 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/f72baf3b4419

6637607: 1st char. is discarded after a modal dialogue shows up and disappears
Summary: Reset consuming next KEY_TYPED on every subsequent KEY_PRESS.
Reviewed-by: son

! src/share/classes/java/awt/DefaultKeyboardFocusManager.java
! src/windows/native/sun/windows/awt_Component.cpp
+ test/java/awt/Focus/ConsumeNextKeyTypedOnModalShowTest/ConsumeNextKeyTypedOnModalShowTest.java

Changeset: 8b34e2cde06f
Author:    ant
Date:      2008-03-25 18:08 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/8b34e2cde06f

6613426: two WM_TAKE_FOCUS messages on one mouse click in GNOME Metacity 2.16.0
Summary: A workaround to the metacity issue 485016.
Reviewed-by: son

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

Changeset: 401d820d0b4a
Author:    ant
Date:      2008-03-25 18:14 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/401d820d0b4a

Merge


Changeset: c58ca64469bb
Author:    anthony
Date:      2008-03-27 11:08 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c58ca64469bb

6603312: Segmentation fault running java -jar SwingSet2.jar in 256 color mode
Summary: Force hiding the splashscreen if the code cannot allocate a reasonable number of color cells on PseudoColor displays
Reviewed-by: son, art

! src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c

Changeset: 3b0cd0389985
Author:    ant
Date:      2008-03-26 16:20 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3b0cd0389985

6680135: A number of test/closed/java/awt/Focus/* tests should be opened
Summary: The tests moved from the closed repository.
Reviewed-by: son

+ test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java
+ test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java
+ test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest.html
+ test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest.java
+ test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.html
+ test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.java
+ test/java/awt/Focus/FrameJumpingToMouse/FrameJumpingToMouse.java
+ test/java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java
+ test/java/awt/Focus/NonFocusableWindowTest/Test.java
+ test/java/awt/Focus/TypeAhead/TestFocusFreeze.java
+ test/java/awt/Focus/WrongKeyTypedConsumedTest/WrongKeyTypedConsumedTest.java

Changeset: 72a4f94cd2f7
Author:    ant
Date:      2008-03-26 16:56 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/72a4f94cd2f7

6609607: test/closed/java/awt/Focus/AppletInitialFocusTest should be rewritten
Summary: Using test.java.awt.regtesthelpers.Util. Refactoring.
Reviewed-by: volk

! test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest.html
! test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest.java
! test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.html
! test/java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.java

Changeset: 4a6dd11fe9fc
Author:    ant
Date:      2008-03-26 17:38 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/4a6dd11fe9fc

6616792: five AWT focus regression tests should be fixed
Summary: Fixed/refactored the tests.
Reviewed-by: volk

! test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java
! test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java
! test/java/awt/Focus/FrameJumpingToMouse/FrameJumpingToMouse.java
+ test/java/awt/Focus/NonFocusableWindowTest/NoEventsTest.java
! test/java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java
- test/java/awt/Focus/NonFocusableWindowTest/Test.java
! test/java/awt/Focus/TypeAhead/TestFocusFreeze.java
! test/java/awt/Focus/WrongKeyTypedConsumedTest/WrongKeyTypedConsumedTest.java

Changeset: 5d98f1b8a6bb
Author:    ant
Date:      2008-03-27 11:35 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5d98f1b8a6bb

Merge


Changeset: c2252f113414
Author:    dav
Date:      2008-03-25 16:23 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c2252f113414

6255653: REGRESSION: Override isLightweight() causes access violation in awt.dll
Summary: verufy that the component to restack is a HW component by checking for instanceof WComponentPeer
Reviewed-by: son, anthony

! src/windows/classes/sun/awt/windows/WPanelPeer.java
+ test/java/awt/Component/isLightweightCrash/IsLightweightCrash.java
+ test/java/awt/Component/isLightweightCrash/StubPeerCrash.java

Changeset: 6e2a17c648a4
Author:    dav
Date:      2008-03-27 12:31 +0300
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/6e2a17c648a4

Merge


Changeset: 4a06c0b6fdef
Author:    yan
Date:      2008-03-28 03:06 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/4a06c0b6fdef

Merge


Changeset: ada64880c5d0
Author:    dcherepanov
Date:      2008-03-31 15:41 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ada64880c5d0

6508505: JComboBox collapses immediately if it is placed to embedded frame
Summary: XWindowPeer should translate absolute coordinates to local
Reviewed-by: son

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

Changeset: b0bc376a5360
Author:    dcherepanov
Date:      2008-03-31 15:56 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b0bc376a5360

6637204: TrayIcon.displayMessage fails to show icon twice
Summary: the icon canvas should be validated to finalize its layout
Reviewed-by: ant

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

Changeset: 908cab7b2f1c
Author:    anthony
Date:      2008-04-01 17:38 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/908cab7b2f1c

6681889: JSN security test headline/noWarningApp failed with NPE exception
Summary: The java.awt.Component.changeSupportLock field should be initialized in the readObject() method.
Reviewed-by: son, art

! src/share/classes/java/awt/Component.java
+ test/java/awt/Window/PropertyChangeListenerLockSerialization/PropertyChangeListenerLockSerialization.java

Changeset: 58b6b665424a
Author:    son
Date:      2008-04-02 17:45 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/58b6b665424a

6677332: incorrect signatures for JNI methods in XWindow.c and XlibWrapper.c
Summary: int replaced with jint in XWindow.c and WlibWrapper.c, and BOOL replaced with Bool in MouseInfo.c.
Reviewed-by: anthony
Contributed-by: roman.kennke at aicas.com

! src/solaris/native/sun/awt/MouseInfo.c
! src/solaris/native/sun/xawt/XWindow.c
! src/solaris/native/sun/xawt/XlibWrapper.c

Changeset: a1bef1a012e0
Author:    dcherepanov
Date:      2008-04-03 15:00 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/a1bef1a012e0

6619458: testcase depends on a file with the name te{st.html
Summary: using test.html instead of te{st.html in reg test
Reviewed-by: son

+ test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.java
+ test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh
+ test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/test.html

Changeset: e80d1e36f553
Author:    dcherepanov
Date:      2008-04-03 15:48 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/e80d1e36f553

6615015: Typo in javadoc for Component.getTreeLock()
Summary: fix for typo
Reviewed-by: son

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

Changeset: 9ca7032ada2b
Author:    dav
Date:      2008-04-04 20:20 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/9ca7032ada2b

6573289: api/java_awt/Color/index.html#CreateContextTesttestCase4,5,6,7 fail since JDK 7 b14
Summary: specify current behavior - not caching the painting context
Reviewed-by: flar, son

! src/share/classes/java/awt/Color.java
! src/share/classes/java/awt/GradientPaint.java
! src/share/classes/java/awt/LinearGradientPaint.java
! src/share/classes/java/awt/Paint.java
! src/share/classes/java/awt/RadialGradientPaint.java
! src/share/classes/java/awt/TexturePaint.java

Changeset: 5c5a54b9d08d
Author:    dav
Date:      2008-04-04 20:32 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5c5a54b9d08d

Merge


Changeset: 664def01b886
Author:    dav
Date:      2008-04-07 14:53 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/664def01b886

6613529: Avoid duplicate object creation within JDK packages
Summary: avoid using constructors when unique values are not necessary
Reviewed-by: volk, igor, peterz

! src/share/classes/com/sun/imageio/plugins/gif/GIFImageReader.java
! src/share/classes/com/sun/imageio/plugins/gif/GIFWritableImageMetadata.java
! src/share/classes/com/sun/java/swing/plaf/gtk/GTKColorChooserPanel.java
! src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java
! src/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java
! src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java
! src/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java
! src/share/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java
! src/share/classes/java/awt/Button.java
! src/share/classes/java/awt/MenuItem.java
! src/share/classes/java/awt/datatransfer/SystemFlavorMap.java
! src/share/classes/java/awt/image/BufferedImage.java
! src/share/classes/java/text/DictionaryBasedBreakIterator.java
! src/share/classes/java/text/MessageFormat.java
! src/share/classes/javax/imageio/stream/ImageInputStreamImpl.java
! src/share/classes/javax/swing/AbstractButton.java
! src/share/classes/javax/swing/DebugGraphicsInfo.java
! src/share/classes/javax/swing/JInternalFrame.java
! src/share/classes/javax/swing/JOptionPane.java
! src/share/classes/javax/swing/JProgressBar.java
! src/share/classes/javax/swing/JScrollBar.java
! src/share/classes/javax/swing/JSlider.java
! src/share/classes/javax/swing/JSplitPane.java
! src/share/classes/javax/swing/JTabbedPane.java
! src/share/classes/javax/swing/JTable.java
! src/share/classes/javax/swing/JTextArea.java
! src/share/classes/javax/swing/SpinnerNumberModel.java
! src/share/classes/javax/swing/TablePrintable.java
! src/share/classes/javax/swing/plaf/basic/BasicButtonUI.java
! src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java
! src/share/classes/javax/swing/plaf/basic/BasicMenuItemUI.java
! src/share/classes/javax/swing/plaf/basic/BasicOptionPaneUI.java
! src/share/classes/javax/swing/plaf/basic/BasicTabbedPaneUI.java
! src/share/classes/javax/swing/plaf/basic/BasicToolBarUI.java
! src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java
! src/share/classes/javax/swing/plaf/synth/SynthArrowButton.java
! src/share/classes/javax/swing/plaf/synth/SynthDesktopPaneUI.java
! src/share/classes/javax/swing/plaf/synth/SynthSplitPaneUI.java
! src/share/classes/javax/swing/table/TableColumn.java
! src/share/classes/javax/swing/text/AbstractDocument.java
! src/share/classes/javax/swing/text/NumberFormatter.java
! src/share/classes/javax/swing/text/PlainDocument.java
! src/share/classes/javax/swing/text/Segment.java
! src/share/classes/javax/swing/text/StyleConstants.java
! src/share/classes/javax/swing/text/html/AccessibleHTML.java
! src/share/classes/javax/swing/text/html/CSS.java
! src/share/classes/javax/swing/text/html/HTMLEditorKit.java
! src/share/classes/javax/swing/text/html/parser/AttributeList.java
! src/share/classes/javax/swing/text/html/parser/DTD.java
! src/share/classes/javax/swing/text/html/parser/Element.java
! src/share/classes/javax/swing/text/html/parser/Entity.java
! src/share/classes/javax/swing/text/html/parser/Parser.java
! src/share/classes/javax/swing/text/rtf/RTFAttributes.java
! src/share/classes/javax/swing/text/rtf/RTFGenerator.java
! src/share/classes/javax/swing/tree/DefaultTreeSelectionModel.java
! src/share/classes/sun/applet/AppletPanel.java
! src/share/classes/sun/applet/AppletViewer.java
! src/share/classes/sun/awt/FontConfiguration.java
! src/share/classes/sun/awt/im/InputContext.java
! src/share/classes/sun/font/FileFontStrike.java
! src/share/classes/sun/font/FontManager.java
! src/share/classes/sun/font/FontResolver.java
! src/share/classes/sun/font/PhysicalStrike.java
! src/share/classes/sun/java2d/SunGraphics2D.java
! src/share/classes/sun/java2d/loops/SurfaceType.java
! src/share/classes/sun/print/PSPrinterJob.java
! src/share/classes/sun/print/RasterPrinterJob.java
! src/share/classes/sun/text/normalizer/VersionInfo.java
! src/solaris/classes/sun/awt/X11/XDropTargetProtocol.java
! src/solaris/classes/sun/awt/X11/XDropTargetRegistry.java
! src/solaris/classes/sun/awt/X11/XEmbedServerTester.java
! src/solaris/classes/sun/awt/X11/XFileDialogPeer.java
! src/solaris/classes/sun/awt/X11/XScrollbar.java
! src/solaris/classes/sun/awt/X11GraphicsConfig.java
! src/solaris/classes/sun/awt/X11GraphicsDevice.java
! src/solaris/classes/sun/print/UnixPrintJob.java
! src/windows/classes/sun/awt/windows/WDataTransferer.java
! src/windows/classes/sun/awt/windows/WInputMethod.java
! src/windows/classes/sun/awt/windows/WWindowPeer.java
! src/windows/classes/sun/print/Win32PrintService.java

Changeset: 840f49e23a40
Author:    dav
Date:      2008-04-07 16:52 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/840f49e23a40

6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
Summary: Access to interface's fiels via their name rather then implementation
Reviewed-by: volk, son

! src/solaris/classes/sun/awt/X11/MWMConstants.java
! src/solaris/classes/sun/awt/X11/MotifDnDConstants.java
! src/solaris/classes/sun/awt/X11/MotifDnDDragSourceProtocol.java
! src/solaris/classes/sun/awt/X11/MotifDnDDropTargetProtocol.java
! src/solaris/classes/sun/awt/X11/WindowPropertyGetter.java
! src/solaris/classes/sun/awt/X11/XAWTXSettings.java
! src/solaris/classes/sun/awt/X11/XAtom.java
! src/solaris/classes/sun/awt/X11/XBaseMenuWindow.java
! src/solaris/classes/sun/awt/X11/XBaseWindow.java
! src/solaris/classes/sun/awt/X11/XClipboard.java
! src/solaris/classes/sun/awt/X11/XComponentPeer.java
! src/solaris/classes/sun/awt/X11/XConstants.java
! src/solaris/classes/sun/awt/X11/XContentWindow.java
! src/solaris/classes/sun/awt/X11/XCursorFontConstants.java
! src/solaris/classes/sun/awt/X11/XCustomCursor.java
! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
! src/solaris/classes/sun/awt/X11/XDialogPeer.java
! src/solaris/classes/sun/awt/X11/XDnDDragSourceProtocol.java
! src/solaris/classes/sun/awt/X11/XDnDDropTargetProtocol.java
! src/solaris/classes/sun/awt/X11/XDragSourceContextPeer.java
! src/solaris/classes/sun/awt/X11/XDragSourceProtocol.java
! src/solaris/classes/sun/awt/X11/XDropTargetEventProcessor.java
! src/solaris/classes/sun/awt/X11/XDropTargetProtocol.java
! src/solaris/classes/sun/awt/X11/XDropTargetRegistry.java
! src/solaris/classes/sun/awt/X11/XEmbedCanvasPeer.java
! src/solaris/classes/sun/awt/X11/XEmbedChildProxyPeer.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
! src/solaris/classes/sun/awt/X11/XEmbeddedFramePeer.java
! src/solaris/classes/sun/awt/X11/XEmbeddingContainer.java
! src/solaris/classes/sun/awt/X11/XFocusProxyWindow.java
! src/solaris/classes/sun/awt/X11/XFramePeer.java
! src/solaris/classes/sun/awt/X11/XGlobalCursorManager.java
! src/solaris/classes/sun/awt/X11/XIconWindow.java
! src/solaris/classes/sun/awt/X11/XMSelection.java
! src/solaris/classes/sun/awt/X11/XNETProtocol.java
! src/solaris/classes/sun/awt/X11/XProtocol.java
! src/solaris/classes/sun/awt/X11/XProtocolConstants.java
! src/solaris/classes/sun/awt/X11/XSelection.java
! src/solaris/classes/sun/awt/X11/XSystemTrayPeer.java
! src/solaris/classes/sun/awt/X11/XToolkit.java
! src/solaris/classes/sun/awt/X11/XTrayIconPeer.java
! src/solaris/classes/sun/awt/X11/XUtilConstants.java
! src/solaris/classes/sun/awt/X11/XWINProtocol.java
! src/solaris/classes/sun/awt/X11/XWM.java
! src/solaris/classes/sun/awt/X11/XWindow.java
! src/solaris/classes/sun/awt/X11/XWindowPeer.java
! src/solaris/classes/sun/awt/X11/XlibUtil.java
! src/solaris/classes/sun/awt/X11/XlibWrapper.java

Changeset: 0a053f373969
Author:    dav
Date:      2008-04-08 12:46 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0a053f373969

6520716: event classes lack info about parameters
Summary: clarify allowed values for event constructors
Reviewed-by: son, denis

! src/share/classes/java/awt/dnd/DragGestureEvent.java
! src/share/classes/java/awt/dnd/DropTargetEvent.java
! src/share/classes/java/awt/event/ActionEvent.java
! src/share/classes/java/awt/event/AdjustmentEvent.java
! src/share/classes/java/awt/event/ComponentEvent.java
! src/share/classes/java/awt/event/ContainerEvent.java
! src/share/classes/java/awt/event/FocusEvent.java
! src/share/classes/java/awt/event/HierarchyEvent.java
! src/share/classes/java/awt/event/InputEvent.java
! src/share/classes/java/awt/event/InvocationEvent.java
! src/share/classes/java/awt/event/ItemEvent.java
! src/share/classes/java/awt/event/KeyEvent.java
! src/share/classes/java/awt/event/MouseEvent.java
! src/share/classes/java/awt/event/MouseWheelEvent.java
! src/share/classes/java/awt/event/PaintEvent.java
! src/share/classes/java/awt/event/TextEvent.java
! src/share/classes/java/awt/event/WindowEvent.java

Changeset: dd05b5b0e7bd
Author:    ant
Date:      2008-04-08 13:32 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/dd05b5b0e7bd

6607170: Focus not set by requestFocus
Summary: fixing/refactoring focus auto-transfer mechanism.
Reviewed-by: son

! src/share/classes/java/awt/Component.java
! src/share/classes/java/awt/Container.java
! src/share/classes/java/awt/DefaultKeyboardFocusManager.java
! src/share/classes/java/awt/KeyboardFocusManager.java
! src/solaris/classes/sun/awt/X11/XKeyboardFocusManagerPeer.java
! src/windows/native/sun/windows/awt_Component.cpp
+ test/java/awt/Focus/ContainerFocusAutoTransferTest/ContainerFocusAutoTransferTest.java

Changeset: ddfd2acb2347
Author:    ant
Date:      2008-04-09 09:37 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ddfd2acb2347

6522725: Component in a minimized Frame has focus and receives key events
Summary: XAWT: a window natively focused may request focus in it only synthetically
Reviewed-by: son

! src/solaris/classes/sun/awt/X11/XComponentPeer.java
! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
! src/solaris/classes/sun/awt/X11/XWindowPeer.java
+ test/java/awt/Focus/IconifiedFrameFocusChangeTest/IconifiedFrameFocusChangeTest.java

Changeset: 61ea2d05afba
Author:    volk
Date:      2008-04-13 23:41 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/61ea2d05afba

6686273: Some AWT reg. tests should be moved to open repository (for CRs 6444769, 6480547, and 6560348)
Summary: Some AWT reg. tests are moved to open repository (for CRs 6444769, 6480547, and 6560348)
Reviewed-by: ant

+ test/java/awt/Insets/WindowWithWarningTest/WindowWithWarningTest.html
+ test/java/awt/Insets/WindowWithWarningTest/WindowWithWarningTest.java
+ test/java/awt/TextField/ScrollSelectionTest/ScrollSelectionTest.html
+ test/java/awt/TextField/ScrollSelectionTest/ScrollSelectionTest.java
+ test/java/awt/xembed/server/JavaClient.java
+ test/java/awt/xembed/server/RunTestXEmbed.java
+ test/java/awt/xembed/server/TestXEmbedServer.java
+ test/java/awt/xembed/server/TestXEmbedServerJava.java
+ test/java/awt/xembed/server/TesterClient.java

Changeset: 5a9dcfdf856d
Author:    volk
Date:      2008-04-13 23:56 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5a9dcfdf856d

Merge


Changeset: 863b81ff642c
Author:    dcherepanov
Date:      2008-04-14 15:21 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/863b81ff642c

6471693: Moving the vertical scroll bar of List in FileDialog leads Flickering in solaris
Summary: unite paint() calls in one call
Reviewed-by: son

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

Changeset: 9d15a1989b84
Author:    dcherepanov
Date:      2008-04-14 15:53 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/9d15a1989b84

6688067: regression test for 6471693 is missed
Summary: added regression test
Reviewed-by: son

+ test/java/awt/List/ListFlickers/ListFlickers.java

Changeset: adae10f1c14d
Author:    dav
Date:      2008-04-15 14:00 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/adae10f1c14d

6430553: MouseClick event should not be fired if MouseRelease happened without MousePress
Summary: verify that the there was a PRESS event before sending CLICK event
Reviewed-by: son, dcherepanov

! src/solaris/classes/sun/awt/X11/XWindow.java
! src/windows/native/sun/windows/awt_Component.cpp
! src/windows/native/sun/windows/awt_Component.h
! src/windows/native/sun/windows/awt_TrayIcon.cpp
! src/windows/native/sun/windows/awt_TrayIcon.h

Changeset: e2e1127aed7b
Author:    dav
Date:      2008-04-15 14:14 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/e2e1127aed7b

Merge


Changeset: 29a4bb79a0fd
Author:    son
Date:      2008-04-18 11:38 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/29a4bb79a0fd

6690036: some code cleanup for insets-related code
Summary: all insets-related code from XWindowPeer, XFramePeer, and XDialogPeer has been moved to XDecoratedPeer.
Reviewed-by: anthony

! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
! src/solaris/classes/sun/awt/X11/XDialogPeer.java
! src/solaris/classes/sun/awt/X11/XFramePeer.java
! src/solaris/classes/sun/awt/X11/XWindowPeer.java

Changeset: a35e9e11d907
Author:    yan
Date:      2008-04-23 14:35 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/a35e9e11d907

6627324: Alt Graph doesnot generate any key event when pressing in German locale
Summary: This Unix only problem solved by mapping XK_ISO_Level3_Shift keysym to Java keycode VK_ALT_GRAPH.
Reviewed-by: son

! src/solaris/classes/sun/awt/X11/XKeysym.java
! src/solaris/classes/sun/awt/X11/genhash.awk
! src/solaris/classes/sun/awt/X11/keysym2ucs.h

Changeset: 8da00cb83d01
Author:    yan
Date:      2008-05-04 07:05 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/8da00cb83d01

Merge


Changeset: c1e547a4c0ef
Author:    yan
Date:      2008-05-13 21:58 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c1e547a4c0ef

Merge

! src/share/classes/javax/swing/JTextArea.java

Changeset: 97240b4b5074
Author:    rupashka
Date:      2008-04-28 17:17 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/97240b4b5074

4252173: Inability to reuse the HorizontalSliderThumbIcon
Summary: Removed casting component to JSlider from MetalIconFactory
Reviewed-by: alexp

! src/share/classes/javax/swing/plaf/metal/MetalIconFactory.java
+ test/javax/swing/JFileChooser/4252173/bug4252173.java

Changeset: 0447f9c7aed7
Author:    rupashka
Date:      2008-04-29 13:49 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0447f9c7aed7

6210674: FileChooser fails to load custom harddrive icon and gets NullPointerException
Summary: WindowsPlacesBar should use default icon for folders that doesn't have own icon
Reviewed-by: loneid

! src/share/classes/sun/swing/WindowsPlacesBar.java
! src/windows/classes/sun/awt/shell/Win32ShellFolder2.java
! src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java

Changeset: 5b1734431fa5
Author:    rupashka
Date:      2008-04-29 15:47 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5b1734431fa5

6693507: There are unnecessary compilation warnings in the com.sun.java.swing.plaf.motif package
Summary: Removed unnecessary castings and other warnings
Reviewed-by: peterz
Contributed-by: Florian Brunner <fbrunnerlist at gmx.ch>

! src/share/classes/com/sun/java/swing/plaf/motif/MotifGraphicsUtils.java
! src/share/classes/com/sun/java/swing/plaf/motif/MotifInternalFrameTitlePane.java
! src/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java

Changeset: aaa771ded30b
Author:    rupashka
Date:      2008-04-29 17:48 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/aaa771ded30b

6614972: JSlider value should not change on right-click
Summary: WindowsSliderUI won't use the right mouse button for change slider position
Reviewed-by: alexp

! src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java
! src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java
! src/share/classes/javax/swing/plaf/basic/BasicSliderUI.java

Changeset: eca2e5716b86
Author:    rupashka
Date:      2008-04-30 12:32 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/eca2e5716b86

6524424: JSlider Clicking In Tracks Behavior Inconsistent For Different Tick Spacings
Summary: JSlider should use minimal tick space in SnapToTicks mode
Reviewed-by: peterz

! src/share/classes/javax/swing/plaf/basic/BasicSliderUI.java
+ test/javax/swing/JFileChooser/6524424/bug6524424.html
+ test/javax/swing/JFileChooser/6524424/bug6524424.java

Changeset: 9a322f3dccd8
Author:    rupashka
Date:      2008-04-30 13:01 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/9a322f3dccd8

6642612: JFileChooser approve buttons should use Open and Save text (GTK)
Summary: In FileChooser under GTK LaF "Ok" and "Cancel" buttons were made with the same size
Reviewed-by: peterz

! src/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java

Changeset: b49c01fd4b1c
Author:    mlapshin
Date:      2008-04-30 13:19 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b49c01fd4b1c

6690791: Even more ClassCasetException with TrayIcon
Summary: event.getComponent() is used unstead of (Component)event.getSource()
Reviewed-by: peterz

! src/share/classes/javax/swing/MenuSelectionManager.java
+ test/javax/swing/JPopupMenu/6690791/bug6690791.java

Changeset: b5c38f2632d0
Author:    mlapshin
Date:      2008-04-30 07:03 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b5c38f2632d0

Merge


Changeset: 812b1e9aa7e5
Author:    mlapshin
Date:      2008-04-30 08:23 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/812b1e9aa7e5

Merge


Changeset: 06916e21e10f
Author:    rupashka
Date:      2008-05-01 14:47 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/06916e21e10f

6688203: Memory leak and performance problems in the method getFileSystemView of FileSystemView
Summary: Removed from the "FileSystemView#getFileSystemView" method creation of a new listener and adding it to UIManager
Reviewed-by: peterz

! src/share/classes/javax/swing/filechooser/FileSystemView.java
+ test/javax/swing/JFileChooser/6688203/bug6688203.java

Changeset: c25ed95b96a8
Author:    malenkov
Date:      2008-05-07 16:08 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c25ed95b96a8

6625450: javax.swing.border.TitledBorder.getBaseline() doesn't throw IAE when width is < 0
Summary: necessary check is added
Reviewed-by: peterz, alexp

! src/share/classes/javax/swing/border/TitledBorder.java
+ test/javax/swing/border/Test6625450.java

Changeset: 4cf10bc1973d
Author:    rupashka
Date:      2008-05-07 20:26 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/4cf10bc1973d

6635277: Incorrect text seen when creating a new folder, when selection is on the image file in JFileChooser
Summary: Corrected bounds of editor area
Reviewed-by: loneid

! src/share/classes/sun/swing/FilePane.java

Changeset: 56cae54e668c
Author:    malenkov
Date:      2008-05-07 21:54 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/56cae54e668c

6348456: BasicColorChooserUI ignores JColorChooser selection model changes
Summary: Some methods are moved from AbstractColorChooserPanel to BasicColorChooserUI
Reviewed-by: peterz, alexp

! src/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java
! src/share/classes/javax/swing/plaf/basic/BasicColorChooserUI.java
+ test/javax/swing/JColorChooser/Test6348456.html
+ test/javax/swing/JColorChooser/Test6348456.java

Changeset: 5bcff22d837d
Author:    malenkov
Date:      2008-05-07 23:20 +0400
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5bcff22d837d

4935607: RFE: LTP: Should be possible to set the TRANSIENT attribute of propertiies to FALSE
Summary: Add the Transient annotation and support it (JSR-273)
Reviewed-by: peterz, loneid

! src/share/classes/java/awt/Component.java
! src/share/classes/java/awt/Dimension.java
! src/share/classes/java/awt/Point.java
! src/share/classes/java/awt/Rectangle.java
! src/share/classes/java/awt/ScrollPane.java
! src/share/classes/java/awt/geom/RectangularShape.java
! src/share/classes/java/awt/im/InputContext.java
! src/share/classes/java/beans/DefaultPersistenceDelegate.java
! src/share/classes/java/beans/EventSetDescriptor.java
! src/share/classes/java/beans/FeatureDescriptor.java
! src/share/classes/java/beans/IndexedPropertyDescriptor.java
! src/share/classes/java/beans/MetaData.java
! src/share/classes/java/beans/PropertyDescriptor.java
+ src/share/classes/java/beans/Transient.java
! src/share/classes/javax/swing/AbstractButton.java
! src/share/classes/javax/swing/DefaultListSelectionModel.java
! src/share/classes/javax/swing/ImageIcon.java
! src/share/classes/javax/swing/JComboBox.java
! src/share/classes/javax/swing/JComponent.java
! src/share/classes/javax/swing/JLabel.java
! src/share/classes/javax/swing/JList.java
! src/share/classes/javax/swing/JMenuBar.java
! src/share/classes/javax/swing/JScrollPane.java
! src/share/classes/javax/swing/JTabbedPane.java
! src/share/classes/javax/swing/JViewport.java
! src/share/classes/javax/swing/table/JTableHeader.java
! src/share/classes/javax/swing/text/JTextComponent.java
! test/java/beans/Introspector/BeanUtils.java
! test/java/beans/Introspector/Test4896879.java
+ test/java/beans/Introspector/Test4935607.java
+ test/java/beans/XMLEncoder/Test4935607.java

Changeset: ec3bbc3f675a
Author:    mlapshin
Date:      2008-05-14 07:53 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ec3bbc3f675a

Merge

! src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java
! src/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java
! src/share/classes/java/awt/Component.java
! src/share/classes/javax/swing/AbstractButton.java
! src/share/classes/javax/swing/JTabbedPane.java
! src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java

Changeset: d70a63c92b49
Author:    ohair
Date:      2008-04-30 17:34 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/d70a63c92b49

6695553: Cleanup GPLv2+SPL legal notices in hat sources
Summary: Just correcting the legal notices on the HAT sources.
Reviewed-by: alanb

! src/share/classes/com/sun/tools/hat/Main.java
! src/share/classes/com/sun/tools/hat/build.xml
! src/share/classes/com/sun/tools/hat/internal/model/AbstractJavaHeapObjectVisitor.java
! src/share/classes/com/sun/tools/hat/internal/model/ArrayTypeCodes.java
! src/share/classes/com/sun/tools/hat/internal/model/HackJavaValue.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaBoolean.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaByte.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaChar.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaClass.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaDouble.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaField.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaFloat.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaHeapObject.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaHeapObjectVisitor.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaInt.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaLazyReadObject.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaLong.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaObject.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaObjectArray.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaObjectRef.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaShort.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaStatic.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaThing.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaValue.java
! src/share/classes/com/sun/tools/hat/internal/model/JavaValueArray.java
! src/share/classes/com/sun/tools/hat/internal/model/ReachableExcludes.java
! src/share/classes/com/sun/tools/hat/internal/model/ReachableExcludesImpl.java
! src/share/classes/com/sun/tools/hat/internal/model/ReachableObjects.java
! src/share/classes/com/sun/tools/hat/internal/model/ReferenceChain.java
! src/share/classes/com/sun/tools/hat/internal/model/Root.java
! src/share/classes/com/sun/tools/hat/internal/model/Snapshot.java
! src/share/classes/com/sun/tools/hat/internal/model/StackFrame.java
! src/share/classes/com/sun/tools/hat/internal/model/StackTrace.java
! src/share/classes/com/sun/tools/hat/internal/oql/OQLEngine.java
! src/share/classes/com/sun/tools/hat/internal/oql/OQLException.java
! src/share/classes/com/sun/tools/hat/internal/oql/OQLQuery.java
! src/share/classes/com/sun/tools/hat/internal/oql/ObjectVisitor.java
! src/share/classes/com/sun/tools/hat/internal/parser/FileReadBuffer.java
! src/share/classes/com/sun/tools/hat/internal/parser/HprofReader.java
! src/share/classes/com/sun/tools/hat/internal/parser/MappedReadBuffer.java
! src/share/classes/com/sun/tools/hat/internal/parser/PositionDataInputStream.java
! src/share/classes/com/sun/tools/hat/internal/parser/PositionInputStream.java
! src/share/classes/com/sun/tools/hat/internal/parser/ReadBuffer.java
! src/share/classes/com/sun/tools/hat/internal/parser/Reader.java
! src/share/classes/com/sun/tools/hat/internal/server/AllClassesQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/AllRootsQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/ClassQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/FinalizerObjectsQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/FinalizerSummaryQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/HistogramQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/HttpReader.java
! src/share/classes/com/sun/tools/hat/internal/server/InstancesCountQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/InstancesQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/OQLHelp.java
! src/share/classes/com/sun/tools/hat/internal/server/OQLQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/ObjectQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/PlatformClasses.java
! src/share/classes/com/sun/tools/hat/internal/server/QueryHandler.java
! src/share/classes/com/sun/tools/hat/internal/server/QueryListener.java
! src/share/classes/com/sun/tools/hat/internal/server/ReachableQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/RefsByTypeQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/RootStackQuery.java
! src/share/classes/com/sun/tools/hat/internal/server/RootsQuery.java
! src/share/classes/com/sun/tools/hat/internal/util/ArraySorter.java
! src/share/classes/com/sun/tools/hat/internal/util/Comparer.java
! src/share/classes/com/sun/tools/hat/internal/util/CompositeEnumeration.java
! src/share/classes/com/sun/tools/hat/internal/util/Misc.java
! src/share/classes/com/sun/tools/hat/internal/util/VectorSorter.java
! src/share/classes/com/sun/tools/hat/resources/hat.js

Changeset: 5a0950c45a27
Author:    xdono
Date:      2008-05-13 11:33 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5a0950c45a27

Merge


Changeset: 8767ccc53b42
Author:    xdono
Date:      2008-05-14 14:06 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/8767ccc53b42

Merge


Changeset: 3e599d98875d
Author:    tbell
Date:      2008-05-16 12:25 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3e599d98875d

Merge


Changeset: a36a7f0f11ec
Author:    tbell
Date:      2008-05-22 15:58 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/a36a7f0f11ec

Merge


Changeset: da9a7ef8d34e
Author:    xdono
Date:      2008-05-22 09:37 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/da9a7ef8d34e

Added tag jdk7-b27 for changeset 3e599d98875d

! .hgtags

Changeset: cbd182c404d8
Author:    tbell
Date:      2008-05-23 11:13 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/cbd182c404d8

Merge





More information about the serviceability-dev mailing list