Commit Graph

439 Commits

Author SHA1 Message Date
Tim Bell
0b0581443e Merge 2008-05-12 18:06:23 -07:00
Bradford Wetmore
3cedab2ac5 Merge 2008-05-11 00:26:16 -07:00
Scott Blum
e7b25f91b2 6691215: (coll) IdentityHashMap.containsValue(null) returns true when null value not present
Reviewed-by: dl, chegar, alanb
2008-05-10 12:14:53 -07:00
Martin Buchholz
53684b6479 6691185: (coll) TreeMap.navigableKeySet's descendingIterator method starts at first instead of last entry
Reviewed-by: dl, chegar
2008-05-10 11:49:25 -07:00
Martin Buchholz
901635bc1d 6636363: BufferUnderflowException decoding length 6 UTF-8 sequences with direct buffers
Reviewed-by: sherman
2008-05-10 11:30:53 -07:00
Keith McGuigan
c3f28b519a 6697875: Copyright headers need to be upgraded with GPL derivative
Update copyright headers to GPL

Reviewed-by: xdono
2008-05-08 09:16:03 -04:00
Sergey Malenkov
c2072462fb 4935607: RFE: LTP: Should be possible to set the TRANSIENT attribute of propertiies to FALSE
Add the Transient annotation and support it (JSR-273)

Reviewed-by: peterz, loneid
2008-05-07 23:20:32 +04:00
Sergey Malenkov
99f494c8ee 6348456: BasicColorChooserUI ignores JColorChooser selection model changes
Some methods are moved from AbstractColorChooserPanel to BasicColorChooserUI

Reviewed-by: peterz, alexp
2008-05-07 21:54:03 +04:00
Pavel Porvatov
bc777dbec9 6635277: Incorrect text seen when creating a new folder, when selection is on the image file in JFileChooser
Corrected bounds of editor area

Reviewed-by: loneid
2008-05-07 20:26:32 +04:00
Sergey Malenkov
cc169e2b9d 6625450: javax.swing.border.TitledBorder.getBaseline() doesn't throw IAE when width is < 0
Necessary check is added

Reviewed-by: peterz, alexp
2008-05-07 16:08:31 +04:00
Yuri Nesterenko
55c1fa19a4 Merge 2008-05-04 07:05:42 -07:00
Chris Hegarty
bd09a2baed 6687919: REGRESSION : Classloader can handle any resource which is not included in classpath
Reviewed-by: jccollet, alanb
2008-05-02 21:33:59 +01:00
Pavel Porvatov
f8f23e46ab 6688203: Memory leak and performance problems in the method getFileSystemView of FileSystemView
Removed from the "FileSystemView#getFileSystemView" method creation of a new listener and adding it to UIManager

Reviewed-by: peterz
2008-05-01 14:47:50 +04:00
Kelly O'Hair
12cef95d40 6695553: Cleanup GPLv2+SPL legal notices in hat sources
Just correcting the legal notices on the HAT sources.

Reviewed-by: alanb
2008-04-30 17:34:41 -07:00
Phil Race
faadc39966 6656651: Windows Look and Feel LCD glyph images have some differences from native applications
Reviewed-by: igor, tdv
2008-04-30 13:10:39 -07:00
Valerie Peng
c2d32a0f1b 6695818: New regression test (KerberosTixDateTest) for Kerberos failing on (probably) all platforms
Reviewed-by: mullan
2008-04-30 11:10:33 -07:00
Mikhail Lapshin
e7c50a0d25 Merge 2008-04-30 08:23:31 -07:00
Mikhail Lapshin
fc405f63c8 Merge 2008-04-30 07:03:08 -07:00
Mikhail Lapshin
92019e467c 6690791: Even more ClassCasetException with TrayIcon
Event.getComponent() is used unstead of (Component)event.getSource()

Reviewed-by: peterz
2008-04-30 13:19:26 +04:00
Pavel Porvatov
4594b0f8ea 6642612: JFileChooser approve buttons should use Open and Save text (GTK)
In FileChooser under GTK LaF "Ok" and "Cancel" buttons were made with the same size

Reviewed-by: peterz
2008-04-30 13:01:01 +04:00
Pavel Porvatov
f09d6c6ac3 6524424: JSlider Clicking In Tracks Behavior Inconsistent For Different Tick Spacings
JSlider should use minimal tick space in SnapToTicks mode

Reviewed-by: peterz
2008-04-30 12:32:05 +04:00
Pavel Porvatov
f149163508 6614972: JSlider value should not change on right-click
WindowsSliderUI won't use the right mouse button for change slider position

Reviewed-by: alexp
2008-04-29 17:48:01 +04:00
Mikhail Lapshin
dd60bfb692 Merge 2008-04-29 06:30:27 -07:00
Florian Brunner
f5ac15812c 6693507: There are unnecessary compilation warnings in the com.sun.java.swing.plaf.motif package
Removed unnecessary castings and other warnings

Reviewed-by: peterz
2008-04-29 15:47:17 +04:00
Pavel Porvatov
c091ee49da 6210674: FileChooser fails to load custom harddrive icon and gets NullPointerException
WindowsPlacesBar should use default icon for folders that doesn't have own icon

Reviewed-by: loneid
2008-04-29 13:49:13 +04:00
Phil Race
c672506f95 6679308: Poor text rendering on translucent image
Reviewed-by: flar, campbell
2008-04-28 15:57:46 -07:00
Phil Race
cb5a8e47fb 6664915: SecurityException using javax.print APIs when queuePrintJob permission is granted
Reviewed-by: tdv, jgodinez
2008-04-28 11:06:18 -07:00
Phil Race
88cfc253d1 6694480: Two small inefficiencies in getting font strikes for transformed fonts
Reviewed-by: igor, tdv
2008-04-28 09:59:35 -07:00
Pavel Porvatov
9d90ce5781 4252173: Inability to reuse the HorizontalSliderThumbIcon
Removed casting component to JSlider from MetalIconFactory

Reviewed-by: alexp
2008-04-28 17:17:45 +04:00
Valerie Peng
ea38e1d152 Merge 2008-04-25 15:32:27 -07:00
Valerie Peng
818282ec8c 6659990: KerberosTicket.getEndTime does not copy date (findbugs)
Reviewed-by: mullan
2008-04-25 15:24:48 -07:00
Valerie Peng
bd6eb33b2a 6524501: inconsistency with PKCS#11 spec - 0-value flags in CK_SLOT_INFO struct returned by C_GetSlotInfo()
Reviewed-by: mullan
2008-04-25 15:19:55 -07:00
Tim Bell
25f3229c2b Merge 2008-04-25 15:18:45 -07:00
Phil Race
edfa6ff652 6692979: VM Crash when shearing text + rect over a range of values
Reviewed-by: igor, tdv
2008-04-25 10:40:11 -07:00
Phil Race
9e39cf49ed 6687298: Reg testcase java/awt/Graphics2D/DrawString/RotTransText.java fails on windows
Reviewed-by: igor, tdv
2008-04-25 10:37:07 -07:00
Sean Mullan
82c5bba334 Merge 2008-04-25 09:03:20 -04:00
Sean Mullan
71791668df 6690169: Specification for BasicPermission.equals() is not consistent
Clarified @return to be consistent with method description

Reviewed-by: vinnie
2008-04-25 08:58:07 -04:00
Xiomara Jayasena
aefdc2b068 Added tag jdk7-b26 for changeset 2965fc37ce01 2008-04-24 12:12:20 -07:00
Andrew Haley
f82f310aba 6523403: Need to provide lcms library with PYCC and LINEAR_RGB OS ICC profiles
Add two contributed profiles and a fix to GRAY.pf, all from Redhat, keiths@redhat.com contributed the GRAY.pf fix.

Reviewed-by: jgodinez, avu, prr
2008-04-24 11:58:13 -07:00
Mikhail Lapshin
2b028bddc7 Merge 2008-04-24 05:58:57 -07:00
Bradford Wetmore
f1e72f0012 Merge 2008-04-23 10:20:34 -07:00
Mikhail Lapshin
8dff6c648b 6691503: Malicious applet can show always-on-top popup menu which has whole screen size
The fix for 6675802 is replaced by a try-catch clause that catches SequrityExceptions for applets.

Reviewed-by: alexp
2008-04-23 18:06:34 +04:00
Yuri Nesterenko
9145169200 6627324: Alt Graph doesnot generate any key event when pressing in German locale
This Unix only problem solved by mapping XK_ISO_Level3_Shift keysym to Java keycode VK_ALT_GRAPH.

Reviewed-by: son
2008-04-23 14:35:26 +04:00
Weijun Wang
a934ff801a 6689000: Changes in 6675606 causing regression test failures on windows-i586
Accept illegal URLs like file:c:/root/x.conf and file:this/that/x.conf

Reviewed-by: alanb, chegar
2008-04-23 08:10:28 +08:00
Eamonn McManus
1ca7f71818 6692027: Custom subclasses of QueryEval don't serialize
Remove non-public superclass of QueryEval

Reviewed-by: dfuchs
2008-04-22 18:58:40 +02:00
Keith McGuigan
3c827ac2b0 6691494: doc build broken in tracingdocs
Wrong variable names in makefile

Reviewed-by: tbell
2008-04-21 11:24:04 -04:00
Kelly O'Hair
4dfd0da387 Merge 2008-04-18 16:40:32 -07:00
Xiomara Jayasena
3ceaec158c Merge 2008-04-18 13:24:06 -07:00
Kelly O'Hair
0e9c8616cc 6641585: jdk/make/javax/Makefile should not have both SUBDIRS and AUTO_FILES_JAVA_DIRS
Separated Makefile logic, subtree walk vs. javac compiles. Also fixed minor issue in Rules.gmk.

Reviewed-by: tbell
2008-04-18 12:47:38 -07:00
Mikhail Lapshin
7cc4f58228 6675802: Regression: heavyweight popups cause SecurityExceptions in applets
The problem code in Popup class is surrounded by AccessController.doPrivileged()

Reviewed-by: alexp
2008-04-18 18:21:02 +04:00
Jean-Christophe Collet
18ff524a84 6558853: getHostAddress() on connections using IPv6 link-local addrs should have zone id
Set the scope_id_set flag when necessary

Reviewed-by: chegar
2008-04-18 15:23:27 +02:00
Oleg Sukhodolsky
0d2e60cbc6 6690036: some code cleanup for insets-related code
All insets-related code from XWindowPeer, XFramePeer, and XDialogPeer has been moved to XDecoratedPeer.

Reviewed-by: anthony
2008-04-18 11:38:32 +04:00
Keith McGuigan
cd24f6fc4a 6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code

Reviewed-by: sspitsyn, sbohne
2008-04-17 22:00:16 -04:00
Bradford Wetmore
a7affccf50 Merge 2008-04-17 16:56:11 -07:00
Jean-Christophe Collet
2dc88cc9c9 6644726: Cookie management issues
Many changes to accomodate RFC 2965 and old Netscape specs

Reviewed-by: chegar
2008-04-17 11:05:33 +02:00
Chris Hegarty
351801ee0b 6687282: URLConnection for HTTPS connection through Proxy w/ Digest Authentication gives 400 Bad Request
Change http/digest implementation to use host:port from CONNECT request

Reviewed-by: michaelm
2008-04-16 14:17:54 +01:00
Tim Bell
065eb83a37 Merge 2008-04-15 17:46:47 -07:00
Chris Hegarty
3f919e4a32 6659779: HttpURLConnections logger should log tunnel requests
Invoke Logger for CONNECT request/responses.

Reviewed-by: jccollet
2008-04-15 14:22:36 +01:00
Andrei Dmitriev
4b0c5dc3df Merge 2008-04-15 14:14:33 +04:00
Andrei Dmitriev
bcbd82060a 6430553: MouseClick event should not be fired if MouseRelease happened without MousePress
Verify that the there was a PRESS event before sending CLICK event

Reviewed-by: son, dcherepanov
2008-04-15 14:00:29 +04:00
Xueming Shen
f935457fef 6635133: Exception thrown when using a Unicode escape
Update regex engine to handle unicode escape correctly in character class

Reviewed-by: okutsu
2008-04-14 21:45:45 -07:00
Kelly O'Hair
a2db9ffac0 6484686: The next directory looks like it is no longer part of the build (deploy makefiles)
Getting rid of the _OUTPUTDIR settings. Using BUILD_PARENT_DIRECTORY instead. This solves problems with the "/build/windows-i586*" paths getting mangled on Windows builds (fastdebug builds in particular).

Reviewed-by: tbell
2008-04-14 14:52:27 -07:00
Jennifer Godinez
5e8e0b270e Merge 2008-04-14 11:34:15 -07:00
Sean Mullan
0ca6fc6718 Merge 2008-04-14 10:41:16 -04:00
Sean Mullan
5a0ae8fa6f 6631361: Spec of AccessControlContext constructor is not complete
Add NullPointerException to @throws clause and treat empty array and array of nulls as equivalent

Reviewed-by: valeriep
2008-04-14 10:25:05 -04:00
Mikhail Lapshin
697620a8bb 6612531: api/javax_swing/ScrollPaneLayout/index.html#xxxLayoutSize (ScrollPaneLayout2024) throws NPE
Added a check for the NPE

Reviewed-by: alexp
2008-04-14 16:41:00 +04:00
Dmitry Cherepanov
c942da3f2e 6688067: regression test for 6471693 is missed
Added regression test

Reviewed-by: son
2008-04-14 15:53:32 +04:00
Dmitry Cherepanov
f1854fe0bf 6471693: Moving the vertical scroll bar of List in FileDialog leads Flickering in solaris
Unite paint() calls in one call

Reviewed-by: son
2008-04-14 15:21:16 +04:00
Konstantin Voloshin
f1c8a2f589 Merge 2008-04-13 23:56:20 +04:00
Konstantin Voloshin
74ae1c6b65 6686273: Some AWT reg. tests should be moved to open repository (for CRs 6444769, 6480547, and 6560348)
Some AWT reg. tests are moved to open repository (for CRs 6444769, 6480547, and 6560348)

Reviewed-by: ant
2008-04-13 23:41:40 +04:00
Tim Bell
1fb81ad2f5 Merge 2008-04-11 15:06:20 -07:00
Mandy Chung
6c33c4e721 6687508: Update test/sun/management jtreg tests due to sun.management.ManagementFactory class rename
Modified the jtreg tests to use ManagementFactoryHelper instead

Reviewed-by: emcmanus
2008-04-11 10:26:26 -07:00
Kirill Kirichenko
0d3612f2d8 6624717: Corrupted combo box, GTK L&F, Ubuntu 7.10
Reviewed-by: peterz
2008-04-11 16:25:17 +04:00
Xue-Lei Andrew Fan
fb2418cb14 6571950: SSLSocket(raddr, rport, laddr, lport) allows null as laddr that spec doesn't reflect
Add the description that while the local address parameter is null, anyLocalAddress will be used instead.

Reviewed-by: weijun
2008-04-11 03:50:37 -04:00
Xue-Lei Andrew Fan
b8995164f7 6546671: (spec)javax.net.ssl.TrustManagerFactory.getInstance() throws undocumented NP
5053895: (spec) Unspecified IllegalStateException in TrustManagerFactory

Add NullPointerException/IllegalStateException description

Reviewed-by: weijun
2008-04-11 03:43:18 -04:00
Xue-Lei Andrew Fan
3b3f5839b6 6546639: (spec)javax.net.ssl.SSLContext.getInstance(null) throws undocumented NPE
Add NullPointerException description to those methods.

Reviewed-by: weijun
2008-04-11 03:33:22 -04:00
Lana Steuck
1d540f665e Merge 2008-04-10 18:31:26 -07:00
Phil Race
caf5ff6f0e 6662775: Move imaging and color classes from closed to open
Reviewed-by: tdv, campbell
2008-04-10 16:28:45 -07:00
Mandy Chung
85ae69c481 Merge 2008-04-10 16:11:27 -07:00
Lana Steuck
27aef79dc2 Merge 2008-04-10 15:50:46 -07:00
Xueming Shen
7f4be79650 6529796: Support JIS X 0213:2004 in existing JDK versions, especially for Windows Vista
SJIS0213 support

Reviewed-by: naoto
2008-04-10 14:45:58 -07:00
Jennifer Godinez
34f12e0ac4 6678161: Printing to remote non-Postscript printer does not work in Linux
Reviewed-by: prr, tdv
2008-04-10 13:57:15 -07:00
Mandy Chung
98ecfdaa47 6610094: Add generic support for platform MXBeans of any type (also fixed 6681031)
Add new methods in ManagementFactory class to obtain platform MXBeans

Reviewed-by: alanb, dfuchs, emcmanus
2008-04-10 10:47:13 -07:00
Phil Race
309496c4c4 Merge 2008-04-10 10:32:31 -07:00
Phil Race
6361bb6771 6638477: Two external URLS referenced in 2D documentation are no longer functioning
Reviewed-by: jgodinez
2008-04-10 10:31:19 -07:00
Jennifer Godinez
803ac3e4f6 Merge 2008-04-10 10:23:47 -07:00
Phil Race
b3d5835158 6684056: SUPERSCRIPT TextAttribute on font needs to trigger layout
Reviewed-by: igor, campbell
2008-04-10 09:05:01 -07:00
Kumar Srinivasan
da0bf7574c 6684582: Launcher needs improved error reporting
Indicate the missing main class in the error message

Reviewed-by: darcy, kbr
2008-04-10 09:02:22 -07:00
Weijun Wang
c5757d6fbd 6675606: javax.security.auth.login.Configuration does not recognize path with spaces
Reviewed-by: chegar, xuelei
2008-04-10 19:58:48 +08:00
Jennifer Godinez
fbb2220d00 6633656: Cross platform print dialog doesn't check for orientation being unsupported
Reviewed-by: prr, tdv
2008-04-09 15:16:57 -07:00
Phil Race
3e1b0813ec 6683472: Incorrect handling of translation component of font transform
Reviewed-by: igor, campbell
2008-04-09 13:11:46 -07:00
Xiomara Jayasena
d045aa8a11 Added tag jdk7-b25 for changeset 8d655ddd5a03 2008-04-09 11:19:07 -07:00
Anton Tarasov
e1d1e39f49 6522725: Component in a minimized Frame has focus and receives key events
XAWT: a window natively focused may request focus in it only synthetically

Reviewed-by: son
2008-04-09 09:37:07 +04:00
Anton Tarasov
06e3882354 6607170: Focus not set by requestFocus
Fixing/refactoring focus auto-transfer mechanism.

Reviewed-by: son
2008-04-08 13:32:30 +04:00
Andrei Dmitriev
5887f56e62 6520716: event classes lack info about parameters
Clarify allowed values for event constructors

Reviewed-by: son, denis
2008-04-08 12:46:39 +04:00
Tim Bell
a996482e5d Merge 2008-04-07 23:27:43 -07:00
Bradford Wetmore
bbe29fa484 Merge 2008-04-07 14:19:23 -07:00
Andrei Dmitriev
d21a0af975 6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
Access to interface's fiels via their name rather then implementation

Reviewed-by: volk, son
2008-04-07 16:52:51 +04:00
Andrei Dmitriev
0e36651f33 6613529: Avoid duplicate object creation within JDK packages
Avoid using constructors when unique values are not necessary

Reviewed-by: volk, igor, peterz
2008-04-07 14:53:51 +04:00
Peter Zhelezniakov
f3cc321cb2 4765383: JTextArea.append(String) not thread safe
Several swing.text methods are not marked thread-safe anymore.

Reviewed-by: gsm
2008-04-07 13:07:04 +04:00
Bradford Wetmore
e6ce57d09e 6683078: Update JCE framework and provider builds to work on read-only filesystems
6644659: Error in default target of make/javax/crypto in OpenJDK build

Reviewed-by: valeriep, ohair
2008-04-06 10:15:03 -07:00
Andrei Dmitriev
31835022c4 Merge 2008-04-04 20:32:59 +04:00
Andrei Dmitriev
c54c100fd7 6573289: api/java_awt/Color/index.html#CreateContextTesttestCase4,5,6,7 fail since JDK 7 b14
Specify current behavior - not caching the painting context

Reviewed-by: flar, son
2008-04-04 20:20:16 +04:00
Peter Zhelezniakov
a61087c762 4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
Both POST and GET can now be processed asynchronously; PageLoader refactored

Reviewed-by: gsm
2008-04-03 16:41:43 +04:00
Dmitry Cherepanov
a602ec9fb2 6615015: Typo in javadoc for Component.getTreeLock()
Fix for typo

Reviewed-by: son
2008-04-03 15:48:10 +04:00
Dmitry Cherepanov
194fc6af43 6619458: testcase depends on a file with the name te{st.html
Using test.html instead of te{st.html in reg test

Reviewed-by: son
2008-04-03 15:00:21 +04:00
Xue-Lei Andrew Fan
2dddf4033e 6668231: Presence of a critical subjectAltName causes JSSE's SunX509 to fail trusted checks
Make the critical extension known to end entity checker.

Reviewed-by: wetmore, mullan
2008-04-02 22:44:45 -04:00
Roman Kennke
e95ef5ac21 6677332: incorrect signatures for JNI methods in XWindow.c and XlibWrapper.c
Int replaced with jint in XWindow.c and WlibWrapper.c, and BOOL replaced with Bool in MouseInfo.c.

Reviewed-by: anthony
2008-04-02 17:45:50 +04:00
Kelly O'Hair
de514b4b6e 6627823: Missed whitespace normalization files: jdk/test/java/rmi
Just missed a few files being normalized in rev 0.

Reviewed-by: xdono
2008-04-01 15:41:23 -07:00
Kelly O'Hair
3d9e4854d0 6482134: JDK 6 build error on Windows, Visual Studio .NET on Japanese locale
Fix scanning of cl.exe version output, removed CC_TYPE.

Reviewed-by: tbell
2008-04-01 15:14:53 -07:00
Anthony Petrov
4eb04f83d5 6681889: JSN security test headline/noWarningApp failed with NPE exception
The java.awt.Component.changeSupportLock field should be initialized in the readObject() method.

Reviewed-by: son, art
2008-04-01 17:38:46 +04:00
Eamonn McManus
332059a555 6610917: Define a generic NotificationFilter
Adds javax.management.QueryNotificationFilter

Reviewed-by: dfuchs
2008-04-01 14:45:23 +02:00
Kelly O'Hair
4a807d5ed3 6501543: Username can have non-alphanumeric characters
User version string issues, including a L10n issue with month names.

Reviewed-by: tbell
2008-03-31 17:20:48 -07:00
Kelly O'Hair
298642faa1 6482445: j2se/make/java/java/localegen.sh uses 'sort' from PATH, could get system32/sort
Making sure the right 'sort' utility is found.

Reviewed-by: tbell
2008-03-31 17:19:06 -07:00
Kelly O'Hair
ea297b80d9 6672405: OPENJDK build: jdk7/jdk/make/tools/freetypecheck leaves dirt behind
OpenJDK freetype sanity check cleanup.

Reviewed-by: tbell
2008-03-31 17:17:18 -07:00
Valerie Peng
58ca4c8b87 Merge 2008-03-31 16:50:16 -07:00
Valerie Peng
0397417ad8 6682417: JCK test failed w/ ProviderException when decrypted data is not multiple of blocks
Check for CKR_ENCRYPTED_DATA_LEN_RANGE and throw IllegalBlockSizeException

Reviewed-by: wetmore
2008-03-31 16:16:12 -07:00
Valerie Peng
c10465ee58 6682411: JCK test failed w/ ArrayIndexOutOfBoundException (-1) when decrypting with no data
Fixed PKCS5Padding class with additional check and throw BadPaddingException if the check failed

Reviewed-by: wetmore
2008-03-31 16:12:37 -07:00
Chris Phillips
b9705263ec 6469580: 1.5.0_08 JVM crashes in SignatureHandlerLibrary::add on Fujitsu Primepower platform
Reviewed-by: andreas, valeriep, wetmore
2008-03-31 13:27:10 -07:00
Valerie Peng
3470103a93 6681652: Two new regression test failures in pkcs11 code
Fixed the test to not assume SunJCE provider being the provider for DES

Reviewed-by: wetmore
2008-03-31 11:09:57 -07:00
Dmitry Cherepanov
cfaf19f278 6637204: TrayIcon.displayMessage fails to show icon twice
The icon canvas should be validated to finalize its layout

Reviewed-by: ant
2008-03-31 15:56:12 +04:00
Dmitry Cherepanov
b2b125f8a9 6508505: JComboBox collapses immediately if it is placed to embedded frame
XWindowPeer should translate absolute coordinates to local

Reviewed-by: son
2008-03-31 15:41:56 +04:00
Bradford Wetmore
754b9d2936 Merge 2008-03-28 12:56:34 -07:00
Yuri Nesterenko
b6a8a6ebd2 Merge 2008-03-28 03:06:00 -07:00
Daniel D. Daugherty
be69c9cfa3 Merge 2008-03-27 14:15:59 -07:00
Xiomara Jayasena
4afc4c31b2 Merge 2008-03-27 12:28:53 -07:00
Xiomara Jayasena
b1415f3d2d Merge 2008-03-27 12:09:50 -07:00
Tim Bell
1a4fe677d1 Merge 2008-03-27 10:42:36 -07:00
Andrei Dmitriev
44f8b333b5 Merge 2008-03-27 12:31:18 +03:00
Anton Tarasov
16c3e83a2b Merge 2008-03-27 11:35:00 +03:00
Anthony Petrov
fa0a3d0495 6603312: Segmentation fault running java -jar SwingSet2.jar in 256 color mode
Force hiding the splashscreen if the code cannot allocate a reasonable number of color cells on PseudoColor displays

Reviewed-by: son, art
2008-03-27 11:08:37 +03:00
Daniel D. Daugherty
e1362bb54d 6679866: 3/2 portability issues with JLI-batch-200803 on Win*
Make minor tweaks to the fix for 6274276 to make the Win* compiler happy...

Reviewed-by: sspitsyn, ohair
2008-03-26 20:18:22 -07:00
Kelly O'Hair
2214f21856 Merge 2008-03-26 17:48:05 -07:00
Anton Tarasov
911da0a796 6616792: five AWT focus regression tests should be fixed
Fixed/refactored the tests.

Reviewed-by: volk
2008-03-26 17:38:26 +03:00
Anton Tarasov
75f6b17d66 6609607: test/closed/java/awt/Focus/AppletInitialFocusTest should be rewritten
Using test.java.awt.regtesthelpers.Util. Refactoring.

Reviewed-by: volk
2008-03-26 16:56:40 +03:00
Anton Tarasov
3a0d8165ce 6680135: A number of test/closed/java/awt/Focus/* tests should be opened
The tests moved from the closed repository.

Reviewed-by: son
2008-03-26 16:20:01 +03:00
Kelly O'Hair
ba11a6a5e6 6627817: Remove ^M characters in all files (Makefiles too)
Some files included the use of the ^M character, which has been deleted.

Reviewed-by: xdono
2008-03-25 14:40:43 -07:00
Anton Tarasov
724ce6a00e Merge 2008-03-25 18:14:15 +03:00
Anton Tarasov
5b39f2291c 6613426: two WM_TAKE_FOCUS messages on one mouse click in GNOME Metacity 2.16.0
A workaround to the metacity issue 485016.

Reviewed-by: son
2008-03-25 18:08:57 +03:00
Andrei Dmitriev
f555fe0a57 6255653: REGRESSION: Override isLightweight() causes access violation in awt.dll
Verufy that the component to restack is a HW component by checking for instanceof WComponentPeer

Reviewed-by: son, anthony
2008-03-25 16:23:09 +03:00
Andrei Dmitriev
88699393d7 6610244: modal dialog closes with fatal error if -Xcheck:jni is set
Obtain WWindowPeer class every time it is required

Reviewed-by: art
2008-03-25 15:16:03 +03:00
Daniel D. Daugherty
afd0a54dd0 6667089: 3/3 multiple redefinitions of a class break reflection
Add regression test for multiple redefinitions of a class break reflection.

Reviewed-by: sspitsyn
2008-03-24 17:20:54 -07:00
Daniel D. Daugherty
a6edacebb8 6655234: 4/4 j.l.i.: setNativeMethodPrefix does not document that prefix string can be null
Clarify wording for 'prefix' parameter to setNativeMethodPrefix().

Reviewed-by: sspitsyn
2008-03-24 17:16:10 -07:00
Daniel D. Daugherty
43ac52cdce 6572160: 3/3 Instrumentation.getObjectSize triggers JVM crash in JPLISAssert in shutdown
Tolerate JVMTI_ERROR_WRONG_PHASE return codes so that JLI methods can be called to the end of VM's life.

Reviewed-by: ohair, sspitsyn
2008-03-24 17:12:01 -07:00
Daniel D. Daugherty
ff7433606c 6642405: 4/4 src/share/instrument/JPLISAgent.c line 286: "==" found where assignment "=" expected
Fix incorrect variable assignment in initializeJPLISAgent().

Reviewed-by: ohair, sspitsyn
2008-03-24 16:59:07 -07:00
Daniel D. Daugherty
f465e85260 6547500: 2/2 j.l.i.: .retransformClasses throws unexpected InternalError
RetransformClasses() should catch both an empty classes array and a classes array that contains a NULL element.

Reviewed-by: ohair, sspitsyn
2008-03-24 16:32:15 -07:00
Daniel D. Daugherty
b6cb4857d9 6547358: 2/2 j.l.i.: manifest attribute 'Can-Retransform-Classes' is ignored by isRetransformClassesSupported()
IsRetransformClassesSupported() should return the capability rather than give the agent the capability

Reviewed-by: ohair, sspitsyn
2008-03-24 16:23:21 -07:00
Daniel D. Daugherty
11ff50b340 6545149: 4/4 JLI Instrumentation.redefineClasses SIGSEGVs on java/lang/Thread
Add regression test for redefining class with native methods.

Reviewed-by: sspitsyn
2008-03-24 16:11:24 -07:00
Daniel D. Daugherty
904063c9c9 6528548: 4/4 NativeMethodPrefixAgent.java times out intermittently in nightly
Increase timeouts for tasks that take > 10 seconds on a 4-way Ultra-80 with all local resources.

Reviewed-by: sspitsyn
2008-03-24 16:04:07 -07:00
Daniel D. Daugherty
7d1d2b63c1 6491461: 3/3 TEST: java/lang/instrument .sh tests need to use $TESTVMOPTS in their java commands
Add ${TESTVMOPTS} to java test execution command(s).

Reviewed-by: sspitsyn
2008-03-24 15:42:37 -07:00
Daniel D. Daugherty
a3114e931c 6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir
Only copy Java source files from ilib and bootreporter.

Reviewed-by: sspitsyn
2008-03-24 15:26:24 -07:00
Daniel D. Daugherty
791e6a4a43 6289149: 4/4 Java Agent will pick wrong execution path while attaching
Check for a declared premain() or agentmain() method before an inherited one

Reviewed-by: sspitsyn
2008-03-24 15:20:29 -07:00
Daniel D. Daugherty
dba3a02ea0 6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
Attribute values should be extracted without leading or trailing whitespace.

Reviewed-by: ohair, sspitsyn
2008-03-24 15:14:31 -07:00
Daniel D. Daugherty
fa12ec89ef 5088398: 3/2 java.lang.instrument TCK test deadlock (test11)
Add regression test for single-threaded bootstrap classloader.

Reviewed-by: sspitsyn
2008-03-24 15:05:09 -07:00
Daniel D. Daugherty
bab69115c7 4926961: 4/4 TransformerManagementThreadRemoveTests hangs
Changes motivated by Effective Java - Item 48 & Item 51.

Reviewed-by: sspitsyn
2008-03-24 14:39:30 -07:00
Daniel D. Daugherty
41dd8d9f6f 6239043: 4/4 TransformerManagementThreadAddTests.java failed
Clear fCheckedTransformers in order to properly record transformer() call data.

Reviewed-by: sspitsyn
2008-03-24 14:31:47 -07:00
Andrei Dmitriev
87e915d1af 6638872: invalid links
Removed invalid links

Reviewed-by: dcherepanov
2008-03-24 18:24:15 +03:00
Yuri Nesterenko
3965384d4c Merge 2008-03-24 06:33:16 -07:00
Anton Tarasov
1f1d82e2aa 6637607: 1st char. is discarded after a modal dialogue shows up and disappears
Reset consuming next KEY_TYPED on every subsequent KEY_PRESS.

Reviewed-by: son
2008-03-24 15:51:26 +03:00
Valerie Peng
43aa87d64a Merge 2008-03-21 14:45:20 -07:00
Eamonn McManus
4387f047bc 6643627: JMX source code includes incorrect Java code
Javac compiler bug accepts incorrect code; JMX code inadvertently has such code

Reviewed-by: dfuchs
2008-03-21 18:07:57 +01:00
Eamonn McManus
86bf96a3b2 6649542: Document explicitly in registerMBean etc that MBeanServerNotification is emitted
Make spec more readable by adding cross-references.  Suggested by Andrew Haley.

Reviewed-by: dfuchs
2008-03-21 09:49:40 +01:00
Anton Tarasov
f865626b54 6599270: Using EmbeddedFrame in SWT leads to a hang
Excluding EmbeddedFrame from the workaround of activating a toplevel in not foreground process.

Reviewed-by: son
2008-03-21 09:54:50 +03:00
Valerie Peng
adaa79491e 6599979: KeyStore.setEntry/setKeyEntry() do not override existing entry for secret key objects
Override existing secret key entry when setEntry/setKeyEntry() is called

Reviewed-by: andreas
2008-03-20 18:41:05 -07:00
Valerie Peng
4b9b2408f3 6572331: regression: cipher.wrap operation fails with CKR_ATTRIBUTE_VALUE_INVALID
Check supported key size range and use encryption if needed

Reviewed-by: andreas
2008-03-20 17:17:10 -07:00
Valerie Peng
83d7d2cdfb 4898461: Support for ECB and CBC/PKCS5Padding
Add support for ECB mode and PKCS5Padding

Reviewed-by: andreas
2008-03-20 16:02:23 -07:00
Anton Tarasov
74107ff438 6598089: JDK 7: AWT often goes into busy loop when showing dialog
Preventing focus from getting in an endless loop.

Reviewed-by: son
2008-03-20 18:06:41 +03:00
Oleg Sukhodolsky
816ed65ca6 6630878: clean target in sun/xawt is incomplete
Clean target should remove .gen_icons

Reviewed-by: yan
2008-03-20 16:21:44 +03:00
Anton Tarasov
6898039064 Merge 2008-03-20 14:26:38 +03:00
Anthony Petrov
eb02c12739 4993545: NativeInLightFixer adds asynchronousity
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
2008-03-20 11:09:16 +03:00
Weijun Wang
2aadb6cde1 6670362: HTTP/SPNEGO should work across realms
Reviewed-by: valeriep
2008-03-20 11:57:06 +08:00
Kelly O'Hair
cd2e0b7e91 6611629: Avoid hardcoded cygwin paths for memory detection
Use free with sygwin, mem or systeminfo otherwise, to get MB_OF_MEMORY on windows.

Reviewed-by: tbell
2008-03-19 13:26:29 -07:00
Mandy Chung
c1473eafef Merge 2008-03-19 11:13:46 -07:00
Eamonn McManus
bca4fce00a 6675768: NoSuchElementException thrown in RequiredModelMBean when tracing enabled
Rewrite logging in RequiredModelMBean.addAttributeChangeNotificationListener

Reviewed-by: dfuchs
2008-03-19 15:17:22 +01:00
Anton Tarasov
a24634be6b 6567410: PIT : java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java fails
A filter flag has been added to the HCBT focus hook.

Reviewed-by: dcherepanov
2008-03-19 16:23:50 +03:00
Mandy Chung
9c8e97d713 6672804: First line in com/sun/management/package.html is broken
Fixed the typo in package.html

Reviewed-by: jjh
2008-03-18 12:53:47 -07:00
Mandy Chung
af4bff1a1e 6658779: Regression: HotspotDiagnosticMXBean.getDiagnosticOptions() throws NullPointerException
Add a null check for the VM option string

Reviewed-by: alanb, tbell
2008-03-18 11:53:15 -07:00
Kelly O'Hair
e35b18e39b 6654458: /java/devtools findbugs doesn't work on windows
Changes to both ant and findbugs version checking.

Reviewed-by: tbell
2008-03-18 11:08:09 -07:00
Kelly O'Hair
42919ee3bb 6674232: OPENJDK=false is same as OPENJDK=true
OPENJDK should be empty (undefined) or "true".

Reviewed-by: tbell
2008-03-18 11:06:34 -07:00
Kelly O'Hair
0dbfd8d9bf 6611788: chmod a+x bin/winver.exe in make/tools/winver/Makefile fails on a read only file system
Tell Mercurial this file has execute permission.

Reviewed-by: tbell
2008-03-18 11:04:42 -07:00
Kelly O'Hair
65cbc8719f 6674226: Warning errors in freetypecheck
Just corrected some C code to remove warning errors from gcc.

Reviewed-by: tbell
2008-03-18 11:03:27 -07:00
Anthony Petrov
723e255938 6589527: Window and Frame instances can hide their "Applet Warning"
Additional constraints have been added for the setBounds() operation.

Reviewed-by: son, art
2008-03-18 16:19:03 +03:00
Anthony Petrov
c195eb4ef5 6581927: REG : Non focusable frame can be minimized to very small & Frame icon can be seen on frame buttons
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
2008-03-18 15:07:42 +03:00
Anthony Petrov
8813269b78 6304277: PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32
The Window.closeSplashScreen() method now verified the boolean flag isTrayIconWindow, and returns if it is true.

Reviewed-by: son, dcherepanov
2008-03-18 14:36:14 +03:00
Anthony Petrov
80a01c0796 6637796: setBounds doesn't enlarge Component
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
2008-03-18 14:20:28 +03:00
Anthony Petrov
cdf1fcc79d 6607660: java.awt.Container.getMouseEventTargetImpl should be invoked while holding the TreeLock
The body of the method has been wrapped into the synchronized (getTreeLock()) { } block.

Reviewed-by: son, art
2008-03-18 14:10:28 +03:00
Anthony Petrov
f92bcde478 6613927: Compilation of splashscreen png library failed on Ubuntu 7.04 (64bit)
The macro PNG_NO_MMX_CODE should be defined when compiling on 64bit Linux

Reviewed-by: yan, avu
2008-03-18 13:53:08 +03:00
Anthony Petrov
2095e90fb0 6608764: PropertyChangeListeners machinery should have a better locking scheme
Change to use a private final object java.awt.Component.changeSupportLock for locking purposes instead of using this

Reviewed-by: son, ant
2008-03-18 12:04:20 +03:00
Tim Bell
3a9b62e3d3 Merge 2008-03-17 23:03:51 -07:00
Tim Bell
fa4fe9bea5 Merge 2008-03-17 22:56:59 -07:00
Bradford Wetmore
99370e418f Merge 2008-03-17 12:27:58 -07:00
Bradford Wetmore
e5c032b7a8 Merge 2008-03-17 11:53:36 -07:00
Xue-Lei Andrew Fan
04886b6f44 6447412: Issue with socket.close() for ssl sockets when poweroff on other system
Support SSL sockets SOLINGER

Reviewed-by: chegar
2008-03-17 03:11:29 -04:00
Xue-Lei Andrew Fan
e61d136dd9 6542796: CPU issue with JSSE and tomcat
Record length count error

Reviewed-by: weijun
2008-03-16 23:46:27 -04:00
Xue-Lei Andrew Fan
4a616b5705 6618387: SSL client sessions do not close cleanly. A TCP reset occurs instead of a close_notify alert
CloseIdelConnection() does not query the cached connection correctly.

Reviewed-by: chegar
2008-03-16 01:37:44 -04:00
Xue-Lei Andrew Fan
5fc030e9d3 6648816: REGRESSION: setting -Djava.security.debug=failure result in NPE in ACC
Unchecking the null pointer of the debug handle

Reviewed-by: mullan, weijun
2008-03-15 13:43:05 -04:00
Xueming Shen
8436026352 6514993: (prefs)prefs should use java.util.ServiceLoader to lookup service providers
Reviewed-by: iris
2008-03-14 14:21:03 -07:00
Dmitry Cherepanov
9e5bc6d8bf 6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards
WS_DISABLED style should be used to fix some modality bugs

Reviewed-by: art, son
2008-03-14 22:00:33 +03:00
Dmitry Cherepanov
ad051bbc3a 6524352: support for high-resolution mouse wheel
Added support for high-resolution mouse wheel

Reviewed-by: dav, son
2008-03-14 20:40:09 +03:00
Dmitry Cherepanov
4033c90251 6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms
AWT XEmbed shouldn't use _SUN_XEMBED_START message

Reviewed-by: art, son
2008-03-14 18:50:02 +03:00