Commit Graph

658 Commits

Author SHA1 Message Date
Sergey Malenkov
e91ae90285 6552812: Add HSL tab to JColorChooser
Reviewed-by: peterz, avu
2008-07-18 18:26:22 +04:00
Xueming Shen
5628d956d5 6405995: (ch) test/java/nio/channels/Selector/Wakeup.java broken
Moved the unit test case back to open repo, it works after bugfixes in jdk6

Reviewed-by: alanb
2008-07-17 14:26:51 -07:00
Xiomara Jayasena
8b4c5a01d2 Added tag jdk7-b31 for changeset 9a19b12225f4 2008-07-17 11:28:44 -07:00
Xueming Shen
ac6523031e Merge 2008-07-16 15:37:23 -07:00
Xueming Shen
c09d716d34 6429289: (se) sun.nio.ch.SelectorImpl.processDeregisterQueue creates excessive garbage
Check if the cancelledKeys is empty or not before creating iterator

Reviewed-by: alanb
2008-07-16 15:24:15 -07:00
Xueming Shen
61dd937d11 6541641: (fc) java/nio/channels/FileChannel/ExpandingMap.java should clean up after itself
Close channel and explicitly de-ref the mapped buffers before exit.

Reviewed-by: alanb
2008-07-16 15:09:24 -07:00
Kelly O'Hair
c65bf79ac2 6548261: Use of SE in make/common/Defs-windows.gmk
Reviewed-by: darcy
2008-07-16 09:51:43 -07:00
Igor Nekrestyanov
6acd06f8b5 6720240: IOB exception when getting font metrics of hershey font
Reviewed-by: bae, prr
2008-07-15 16:04:08 +04:00
Tim Bell
46aa35c92c Merge 2008-07-14 22:13:54 -07:00
Tim Bell
038b983b34 Merge 2008-07-14 22:09:52 -07:00
Xueming Shen
2270e88840 6608833: (se spec) SelectionKey @throws references wrong param
Update the API doc to correct the wrong description

Reviewed-by: alanb
2008-07-14 14:03:42 -07:00
Michael McMahon
cc0b15ccd8 6536211: flaw in ServerImpl
Removed doPrivileged block

Reviewed-by: jccollet
2008-07-14 11:39:42 +01:00
Jim Holmlund
040fbc1535 6725192: Some JDI Regression tests fail if @debuggeeVMOptions contain multiple blanks
Fix to allow mutiple blanks between options

Reviewed-by: tbell
2008-07-11 17:06:54 -07:00
Jim Holmlund
6f5da73160 Merge 2008-07-09 16:57:39 -07:00
Jim Holmlund
4c95421013 6700889: Thread resume invalidates all stack frames, even from other threads
6701700: MonitorInfo objects aren't invalidated when the owning thread is resumed

Don't inform ThreadListeners for thread T1 when some other thread is resumed, and MonitoryIfoImpl must add itself as a ThreadListener

Reviewed-by: dcubed
2008-07-09 13:43:26 -07:00
Xiomara Jayasena
e47073d905 Merge 2008-07-09 10:04:09 -07:00
Tim Bell
39285cadc4 Merge 2008-07-09 09:56:00 -07:00
Sergey Malenkov
3916f38bd4 4994637: LTP: java.beans.java_util_Map_PersistenceDelegate: ConcurrentModificationException
Reviewed-by: peterz, loneid
2008-07-09 19:29:07 +04:00
Sergey Malenkov
1bdca97b29 6351692: catch(Throwable) in java.beans.MetaData preventing thread shutdown
Reviewed-by: peterz, loneid
2008-07-09 15:25:38 +04:00
Eamonn McManus
4333dd3520 6323980: Annotations to simplify MBean development
Reviewed-by: jfdenise, dfuchs
2008-07-09 10:36:07 +02:00
Weijun Wang
9ac27197df 6480981: keytool should be able to import certificates from remote SSL servers
Reviewed-by: vinnie, wetmore
2008-07-09 12:03:16 +08:00
Kelly O'Hair
6fa758c552 6695765: Remove winver.exe completely from jdk sources
Binary file winver.exe is unnecessary and the repositories should not manage binary files.

Reviewed-by: darcy
2008-07-08 09:27:08 -07:00
Sergey Malenkov
e2a366414c 4916852: RFE: LTP: BorderLayout Persistence Delegate should use 1.5 API
Reviewed-by: peterz, loneid
2008-07-08 16:40:38 +04:00
Andrei Dmitriev
f7cbc30ff9 6723013: Incomplete push for 6693974
Reviewed-by: art
2008-07-08 16:20:14 +04:00
Peter Zhelezniakov
b4be323f02 6635663: make/tools/AutoMulti/{AutoMulti,TestALFGenerator}.java still generate files with wrong legal notices
Removed unused files

Reviewed-by: ohair
2008-07-08 11:36:19 +04:00
Bradford Wetmore
1f7f81d687 Merge 2008-07-07 13:06:58 -07:00
Anthony Petrov
2720870af6 6723018: Need to push the test for 6682046
Pushed the test

Reviewed-by: art
2008-07-07 17:39:18 +04:00
Anthony Petrov
5a843be073 6682046: Mixing code does not always recalculate shapes correctly when resizing components
The valid property is now encapsulated in Component.

Reviewed-by: art
2008-07-07 17:24:21 +04:00
Mikhail Lapshin
1dce7af76f 6647340: Minimized JInternalFrame icons appear in incorrect positions if the main frame is resized
Now BasicInternalFrameUI and BasicDesktopIconUI both recalculate frame icon position

Reviewed-by: peterz
2008-07-07 16:56:23 +04:00
Andrei Dmitriev
9620b88f07 Merge 2008-07-07 16:32:38 +04:00
Andrei Dmitriev
29aa2aecb4 6693974: Unify EventQueue$EventQueueItem and SunToolkit.$EventQueueItem classes
Reviewed-by: volk, art
2008-07-07 16:09:39 +04:00
Dmitry Cherepanov
1267284a6f 6582346: javaw launcher does not display MessageBox after change to the resource files
Call InitCommonControlsEx to perform UI initialization

Reviewed-by: art
2008-07-07 15:36:01 +04:00
Tim Bell
d969562df7 Merge 2008-07-05 23:29:16 -07:00
Tim Bell
528aac8c17 Merge 2008-07-04 14:41:34 -07:00
Eamonn McManus
5967d518b5 6601652: MXBeans: no IllegalArgumentException in the ex. chain for SortedSet/Map with a non-null comparator()
Forward-port this bug fix from JDK 6

Reviewed-by: dfuchs, lmalvent
2008-07-04 18:55:37 +02:00
Xiomara Jayasena
7a3824742c Added tag jdk7-b30 for changeset f16baef3a20e 2008-07-03 11:01:42 -07:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Swamy Venkataramanappa
a9cd129c27 Merge 2008-07-02 09:37:42 -07:00
Mikhail Lapshin
3f961d6062 6618401: Input method cannot be selected from System menu
Lock.wait() added in sun.awt.im.InputMethodManager.showInputMethodMenuOnRequesterEDT()

Reviewed-by: alexp
2008-07-02 18:17:56 +04:00
Jim Holmlund
1a0c261469 2157677: ClassPrepareRequest.addSourceNameFilter() does not behave as documented
Add proper handling of JVMTI errors.

Reviewed-by: tbell
2008-07-01 09:23:00 -07:00
Jean-Christophe Collet
3fce795f6c 6656849: NullPointerException thrown while de-serializing IPV6 Address
Check for existence of interface name earlier in code

Reviewed-by: michaelm
2008-07-01 13:38:59 +02:00
Jean-Christophe Collet
19fc7593d1 6713809: FTP fails from multi-homed system
Binds the data socket to the same address as the control socket

Reviewed-by: michaelm
2008-07-01 13:29:36 +02:00
Xueming Shen
cbe7dc576f Merge 2008-06-30 14:11:49 -07:00
Xueming Shen
dd2dfec9f5 6675856: Open charset tests
Moved non-confidiential test cased from closed repo to open repo

Reviewed-by: martin
2008-06-30 14:06:34 -07:00
Bradford Wetmore
9f99870d74 Merge 2008-06-29 00:25:59 -07:00
Xueming Shen
35038e62cd 6541631: (fc) java/nio/channels/Filechannel/LongTransferTest.java should clean up after itself
Should close the channel before delete the file

Reviewed-by: alanb
2008-06-27 12:09:37 -07:00
Xueming Shen
0d5d6271b3 Merge 2008-06-27 09:05:11 -07:00
Xueming Shen
84b91226e3 6645197: (so) Timed read with socket adaptor throws ClosedSelectorException if temporary selector GC'ed
Temporary selector for timeout is not protected from possilbe GC when used first time

Reviewed-by: alanb
2008-06-27 08:32:30 -07:00
Sergey Malenkov
ef9b3891fc 6718965: Swing color chooser tests should be open source
Reviewed-by: peterz
2008-06-26 15:39:12 +04:00
Sergey Malenkov
9d7b3f41e0 6718964: Swing border tests should be open source
Reviewed-by: peterz
2008-06-26 15:11:04 +04:00
Dmitry Cherepanov
86ac930e55 6581899: JTextField & JTextArea - Poor performance with JRE 1.5.0_08
Acquire the first|last components only when the key is a traversal key

Reviewed-by: ant
2008-06-26 14:23:25 +04:00
Bradford Wetmore
a70b685713 Merge 2008-06-26 00:26:15 -07:00
Tim Bell
1410975f4a Merge 2008-06-25 23:29:39 -07:00
Tim Bell
1baead8a01 Merge 2008-06-25 16:44:55 -07:00
Swamy Venkataramanappa
72d83e3708 6614556: null location for MonitorContendedEnterEvent
Reviewed-by: jjh
2008-06-25 16:33:59 -07:00
Xueming Shen
827decba87 6481955: Uncanonicalized absolute filepath with length 248-260 no longer works (win)
Uncanonicalized absolute filepath with length 248-260 no longer works (win)

Reviewed-by: alanb
2008-06-25 13:58:22 -07:00
Lana Steuck
69fafff993 Merge 2008-06-25 08:54:54 -07:00
Xueming Shen
d1ff48eb56 4752069: (cs spec) BOM should not be ignored in UTF-16 charsets
API doc update regarding BOM hanlding in UTF-16 charsets

Reviewed-by: alanb
2008-06-25 08:27:06 -07:00
Jennifer Godinez
36d2406edc 6708509: print dialog is not displayed when default paper is custom
Reviewed-by: tdv, prr
2008-06-23 13:00:19 -07:00
Igor Kushnirskiy
762ea5875b 6623943: javax.swing.TimerQueue's thread occasionally fails to start
Reviewed-by: alexp
2008-06-23 15:21:37 -04:00
Anthony Petrov
3a96c0f73d 6704896: FD_SET usage can cause stack corruption (sol)
Using poll() instead of select()

Reviewed-by: yan, denis
2008-06-23 16:03:25 +04:00
Anton Tarasov
6aa1d81c2f 6682536: java\awt\FullScreen\NonfocusableFrameFullScreenTest\NonfocusableFrameFullScreenTest.java fails
Always-on-top property should be restored on exiting full-screen.

Reviewed-by: tdv
2008-06-23 14:42:53 +04:00
Tim Bell
0ae2baec78 Merge 2008-06-20 16:34:34 -07:00
Xiomara Jayasena
fe4c7083aa Added tag jdk7-b29 for changeset 53d8346cf189 2008-06-20 08:45:07 -07:00
Weijun Wang
5e1c37cd11 6716534: Krb5LoginModule has not cleaned temp info between authentication attempts
Reviewed-by: valeriep
2008-06-20 12:05:02 +08:00
Sean Mullan
f44f03f9ea 6714842: CertPathBuilder returns incorrect CertPath for BasicConstraints in builderParams
Do not consider CA target certificates if selector.getBasicConstraints() == -2

Reviewed-by: vinnie
2008-06-19 14:20:43 -04:00
Sergey Malenkov
7690c18be2 4114658: DOC: Unspecified behaviour for java.beans.PropertyEditorSupport
Reviewed-by: peterz, loneid
2008-06-19 18:03:43 +04:00
Andrei Dmitriev
9e5e0e9d44 6694792: Syntax error in java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_2.java
Reviewed-by: yan
2008-06-19 16:09:22 +04:00
Yuri Nesterenko
f8d7c817f6 6706121: makefile: unnecessary Motif classes compilation in JDK7
Removed 80 obsolete .c and .java files, temporary modified some more

Reviewed-by: denis
2008-06-19 11:26:54 +04:00
Lana Steuck
68717f2b81 Merge 2008-06-18 13:05:16 -07:00
Andrei Dmitriev
705c4c6b85 Merge 2008-06-18 19:27:59 +04:00
Andrei Dmitriev
85148f4cf0 6716137: Fix 6691328 is broken
Reviewed-by: dcherepanov, denis
2008-06-18 19:20:28 +04:00
Sergey Malenkov
3bdf306326 6708550: LTP: XMLEncoder does not encode instances of the File class
Reviewed-by: peterz, loneid
2008-06-18 19:15:23 +04:00
Andrei Dmitriev
3a5617e9f7 6616323: consider benefits of replacing a componen array with other collection from the awt.Container class
Reviewed-by: uta, art
2008-06-18 15:35:37 +04:00
Steven Loomis
5917bb24f3 6711377: test/java/awt/font/TextLayout/VisibleAdvance.java missing GPL
Reviewed-by: igor, prr
2008-06-17 18:38:20 -07:00
Sean Mullan
bfeea78133 Merge 2008-06-17 10:53:35 -04:00
Sean Mullan
172da57394 6673277: Thread unsafe lazy initialization code in sun.security.provider.certpath.*Checker classes
Make supportedExts variable non-static

Reviewed-by: vinnie
2008-06-17 10:34:51 -04:00
Anton Tarasov
7d7546ef37 4685768: A11y issue - Focus set to disabled component, can't Tab/Shift-Tab
The restore-focus procedure should skip disabled components.

Reviewed-by: art, dcherepanov
2008-06-17 13:37:28 +04:00
Tim Bell
5f7a7de614 Merge 2008-06-16 22:21:32 -07:00
Tim Bell
7086c93746 Merge 2008-06-16 22:16:19 -07:00
Bradford Wetmore
2ec317a88e Merge 2008-06-16 10:46:22 -07:00
Xueming Shen
2d15cd8fc6 6501089: test/java/nio/channels/SocketChannel/AsyncCloseChannel.java failing (timeout) on Linux
Test/java/nio/channels/SocketChannel/AsyncCloseChannel.java failing (timeout) on Linux

Reviewed-by: alanb
2008-06-14 09:30:20 -07:00
Tim Bell
0218de0c75 Merge 2008-06-13 12:16:01 -07:00
Jean-Christophe Collet
1c4114a2d3 6483406: new ServerSocket() sometimes takes more than 3 minutes on Suse Linux
Switch to socketpair() call to create marker fd

Reviewed-by: alanb
2008-06-13 17:43:50 +02:00
Luis Miguel Alventosa
0557c0b500 6714244: Plotters in MBeans tab should use SnapshotMBeanServerConnection too
Reviewed-by: jfdenise
2008-06-13 10:45:51 +02:00
Tim Bell
a8414afd25 Merge 2008-06-12 13:18:01 -07:00
Phil Race
64cefa94d1 6378099: RFE: Use libfontconfig to create/synthesise a fontconfig.properties
Reviewed-by: tdv, igor
2008-06-12 13:17:33 -07:00
Xiomara Jayasena
cd6060aace Merge 2008-06-12 11:46:57 -07:00
Chris Hegarty
840473c1e3 6628569: api/java_net/MulticastSocket/descriptions.html#setTTL fails is ipv6 configured
Failover to IPv6 socket if IPv4 fails

Reviewed-by: michaelm
2008-06-12 17:28:08 +01:00
Chris Hegarty
278b5e83ce 6630348: Invalid html tags (extra double quote)
Remove extra quote

Reviewed-by: michaelm
2008-06-12 17:26:47 +01:00
Chris Hegarty
f2e8ba353c 6698625: InetAddress.getLocalHost() failed in returning chinese local host name
Remove unnecessary and incorrect NewStringUTF

Reviewed-by: michaelm
2008-06-12 17:25:37 +01:00
Yuri Nesterenko
6a55242693 Merge 2008-06-11 01:31:42 -07:00
Martin Buchholz
bc2be13ac0 6704165: JDK_DEBUG_IMAGE_DIR used in jdk/make/common/Release.gmk but not defined
Reviewed-by: ohair, tbell
2008-06-10 16:31:26 -07:00
Martin Buchholz
0fbcd876e7 6710907: vestigial MOTIF references from Makefiles
Reviewed-by: ohair, tbell
2008-06-10 16:31:26 -07:00
Yuri Nesterenko
5340a489a9 Merge 2008-06-10 13:42:42 -07:00
Xiomara Jayasena
eca36c6c04 Added tag jdk7-b28 for changeset 2063bcfb0878 2008-06-10 10:33:27 -07:00
Luis Miguel Alventosa
0c259336ec 6711106: REGRESSION: Bad usage of SnapshotMBeanServerConnection in MBeans tab and JConsole plugins
Reviewed-by: jfdenise
2008-06-10 13:50:06 +02:00
Weijun Wang
b572eb5b2b 6711435: console.sh uses incompatible ==
Reviewed-by: xuelei
2008-06-10 11:03:23 +08:00
Weijun Wang
afdf0ae0a0 6711509: PolicyTool is misspelling Runtime permission - 'setSecurityManager' entry in the policy file
Reviewed-by: wetmore, mullan
2008-06-10 10:51:33 +08:00
Yuri Nesterenko
0ffe4a715b Merge 2008-06-09 06:31:14 -07:00
Bradford Wetmore
827a788dfc Merge 2008-06-09 00:29:24 -07:00
Alan Bateman
e44b665297 Merge 2008-06-07 16:11:57 +01:00
Tim Bell
e23242de59 Merge 2008-06-06 15:16:19 -07:00
Xueming Shen
fa0719879c 6706299: System property java.class.version should be 51 for jdk7
System property java.class.version should be 51 for jdk7

Reviewed-by: alanb
2008-06-06 14:57:32 -07:00
Alan Bateman
b5953ddd97 Merge 2008-06-06 11:40:38 +01:00
Pavel Porvatov
8f7aabf955 5035693: "Open" button should be a default one in JFileChooser under Windows XP LAF
The "Open" button was made default button of FileChooser dialog windows

Reviewed-by: loneid, peterz
2008-06-06 13:30:20 +04:00
Tim Bell
21953a51cd Merge 2008-06-05 17:43:14 -07:00
Xueming Shen
12669e953f 6710199: SJIS_0213 does not handle "unmappable" encoding operation correctly
6699038: sun/nio/cs/findencoderBugs.java fails

SJIS_0213 charset updates

Reviewed-by: okutsu
2008-06-05 16:19:27 -07:00
Lana Steuck
db3709508b Merge 2008-06-05 14:18:37 -07:00
Alan Bateman
97bcf18b88 6710579: (ch) test/java/nio/channels/AsyncCloseAndInterrupt fails (lnx)
Reviewed-by: chegar
2008-06-05 14:57:15 +01:00
Alan Bateman
06e7bf1f85 6596323: (fc) ClosedByInterruptException not thrown by the interrupt method (lnx)
Reviewed-by: sherman
2008-06-05 14:50:28 +01:00
Alan Bateman
f46dc4e70b 6652379: File.setLastModified fails on large files (lnx only)
Reviewed-by: iris
2008-06-05 14:47:03 +01:00
Alan Bateman
252f292cc2 4939819: File.canWrite() returns false for the "My Documents" directory (win)
Reviewed-by: iris
2008-06-05 14:44:30 +01:00
Eamonn McManus
dfe323d640 6562936: Support custom type mappings in MXBeans
Reviewed-by: dfuchs
2008-06-05 13:42:47 +02:00
Eamonn McManus
e01cfb7fa8 6701498: Change JMX query language to use * and ? as wildcards rather than % and _
Reviewed-by: dfuchs
2008-06-05 13:40:09 +02:00
Chris Hegarty
0ad6d3770b 6626677: Error: Unimplemented()/HPI sysMonitorExit is broken on linux
Remove the definition of NEED_DL_LOCK on platforms with GLIBC

Reviewed-by: dholmes, psoper
2008-06-05 04:08:41 -07:00
Pavel Porvatov
9a2ae13639 6688110: JSlider has incorrect javadoc for the setValueIsAdjusting method
The sentence about ChangeEvents generation was removed

Reviewed-by: peterz
2008-06-05 13:30:41 +04:00
Kelly O'Hair
821c41a2cd 6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep makefiles)
Changes to support building with SS12.

Reviewed-by: tbell
2008-06-04 09:38:18 -07:00
Pavel Porvatov
86031542b2 6571802: 'Shared Documents' listed in-between C,D drives in the JFileChooser, does not match with native
Now sun.awt.shell.ShellFolder#sort uses system sorting instead of alphabetical

Reviewed-by: loneid, peterz
2008-06-04 18:48:42 +04:00
Anton Tarasov
4db94beee6 6708322: test/closed/java/awt/Focus/TemporaryLostComponentDeadlock fails
Introduced new package private object for synchronization purposes. It should replace "this" in some deadlock prone cases.

Reviewed-by: anthony, art
2008-06-04 14:16:44 +04:00
Anton Tarasov
ac0b8d6ebe 6280057: I have audited SystemTray and TrayIcon code
Small refactoring

Reviewed-by: dcherepanov
2008-06-04 12:32:05 +04:00
Xue-Lei Andrew Fan
720109f8ec 6690018: RSAClientKeyExchange NullPointerException
Checking certificate key length for RSA_EXPORT key exchange

Reviewed-by: wetmore, mullan
2008-06-04 09:56:14 +08:00
Jonathan Gibbons
321a423512 6708729: update jdk Makefiles for new javap
Reviewed-by: ohair
2008-06-03 13:28:16 -07:00
Lana Steuck
093ae7bee7 Merge 2008-06-03 11:18:33 -07:00
Pavel Porvatov
cda549c2c2 4987336: JSlider doesn't show label's animated icon
JSlider registers as an image observer of label's icon

Reviewed-by: alexp
2008-06-03 18:00:04 +04:00
Tim Bell
011de6871b Merge 2008-06-02 22:33:55 -07:00
Bradford Wetmore
328c2b4f39 Merge 2008-06-02 10:16:54 -07:00
Pavel Porvatov
2ae586bafc 6709530: There are unnecessary code in slider classes, such as in JSlider and SliderUIs
Removed unnecessary code like unused variables, castings, imports etc

Reviewed-by: peterz
2008-06-02 19:08:13 +04:00
Daniel Fuchs
160c6f164d 6592586: RequiredModelMBean prints a WARNING message when calling getAttributes() for a non-existing attr
Switched traces to FINER - except when logging fails - in which cases the traces are logged to FINE

Reviewed-by: emcmanus
2008-05-30 14:35:43 +02:00
Yuri Nesterenko
971ba86d95 Merge 2008-05-30 03:02:40 -07:00
Daniel Fuchs
eaa732b2fd 6673853: LegacyIntrospectorTest is testing an old deprecated com.sun API not present in OpenJDK
Removed test from open test suite - the corresponding deprecated legacy API is not in open source tree

Reviewed-by: emcmanus
2008-05-29 15:33:14 +02:00
Andrei Dmitriev
da21254012 6691328: DragSourceContext returns unexpected cursor
Make the code to be executed if other options don't suit

Reviewed-by: dcherepanov
2008-05-29 13:48:51 +04:00
Igor Nekrestyanov
e3cd9f9e06 6587560: OpenJDK problem handling bitmaps returned when LCD text is requested
Reviewed-by: bae, prr
2008-05-28 20:06:09 +04:00
Xiomara Jayasena
d91b97f98b Merge 2008-05-27 17:18:01 -07:00
Weijun Wang
c0dfc6ea21 6705313: Incorrect exit $? in keytool's autotest.sh
Reviewed-by: valeriep
2008-05-27 14:29:32 +08:00
Mikhail Lapshin
44b0d9abbe 6694823: A popup menu can be partially hidden under the task bar in applets
In applets popup menu is shifted above the task bar

Reviewed-by: peterz
2008-05-26 17:58:09 +04:00
Tim Bell
4e3260e82e Merge 2008-05-23 11:13:45 -07:00
Sergey Malenkov
f0fd6aa12c 6668273: Example given in java.beans.EventHandler shows incorrect order of parameters
Very simple misprint

Reviewed-by: peterz, loneid
2008-05-23 20:14:20 +04:00
Yuri Nesterenko
d20982eeaa Merge 2008-05-23 02:29:12 -07:00
Tim Bell
b8e714ecd0 Merge 2008-05-22 15:58:48 -07:00
Bradford Wetmore
e072682162 6706358: jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphers.java has the wrong copyright notice
Reviewed-by: valeriep
2008-05-22 14:20:53 -07:00
Xiomara Jayasena
f269bbddcf Added tag jdk7-b27 for changeset 5ca30a3c97e7 2008-05-22 09:37:50 -07:00
Peter Zhelezniakov
4b3a6a58b4 6606443: Infinite loop in FlowView.layout when using HTML tables in JEditorPane
FlowStrategy.damageStart now tracks position changes

Reviewed-by: gsm
2008-05-22 15:06:22 +04:00
Igor Nekrestyanov
68458b3b27 6703377: freetype: glyph vector outline is not translated correctly
Reviewed-by: bae, prr
2008-05-21 10:59:07 +04:00
Yuri Nesterenko
4b9a053b3f 6253172: Some key characters on none US keyboard cannot be typed since JDK 1.4
Windows-only problem fixed by applying 4737679/4623376 fix to navigation keys only.

Reviewed-by: son
2008-05-21 10:28:19 +04:00
Phil Race
a2ffb58a98 Merge 2008-05-19 15:33:24 -07:00
Phil Race
be8dde580e 6611637: NullPointerException in sun.font.GlyphLayout$EngineRecord.init
Reviewed-by: tdv, jgodinez
2008-05-19 11:25:32 -07:00
Bradford Wetmore
1d0421b41f Merge 2008-05-17 00:27:52 -07:00
Tim Bell
8b3c7a86d6 Merge 2008-05-16 12:25:57 -07:00
Yuri Nesterenko
c2407a3b5f Merge 2008-05-16 04:37:47 -07:00
Eamonn McManus
b57cf5b990 6703552: Missing files from changeset for 6701459
Previous push missed a small number of files.

Reviewed-by: dfuchs
2008-05-16 11:34:34 +02:00
Igor Nekrestyanov
1138f00d74 6630501: CRASH: JCK test eats much memory and jvm crashes
Reviewed-by: bae, prr
2008-05-16 03:10:58 +04:00
Kelly O'Hair
19c686e7f4 6590549: Cygwin build of OpenJDK has problems and not very well documented
Just the Makefile changes to fix a cygwin nawk BINMODE=w problem.

Reviewed-by: igor, tbell
2008-05-15 13:04:31 -07:00
Vinnie Ryan
d7beaf03b5 Merge 2008-05-15 10:55:43 +01:00
Chris Hegarty
a83943f8b0 6670408: testcase panics 1.5.0_12&_14 JVM when java.net.PlainSocketImpl trying to throw an exception
Replace select with poll

Reviewed-by: alanb, jccollet
2008-05-15 10:26:07 +01:00
Oleg Sukhodolsky
69a10f680a 6644301: lightweight components can repaint outside request bounds
Repaint() needs to adjust width and height if it receives negative x or y.

Reviewed-by: art
2008-05-15 11:34:11 +04:00
Roman Kennke
f333c99e58 6675596: SurfaceManagerFactory should allow plugging in different implementations
Reviewed-by: tdv, campbell
2008-05-14 16:05:07 -07:00
Xiomara Jayasena
df5b479335 Merge 2008-05-14 14:06:58 -07:00
Vinnie Ryan
f3ee9c2f06 6383078: OCSP checking does not work on end-entity certificate
Reviewed-by: mullan
2008-05-14 18:59:18 +01:00
Eamonn McManus
a9f3e4ddb8 6701459: Synchronization bug pattern found in javax.management.relation.RelationService
Fixed this and many other problems found by FindBugs.

Reviewed-by: dfuchs
2008-05-14 18:38:14 +02:00
Dmitri Trembovetski
3ea05e6a1a 6604044: java crashes talking to second X screen
Reviewed-by: prr
2008-05-14 09:16:18 -07:00
Mikhail Lapshin
b2827492a6 Merge 2008-05-14 07:53:12 -07:00
Yuri Nesterenko
62c49d12f7 Merge 2008-05-13 21:58:46 -07:00
Phil Race
02e4fc676c Merge 2008-05-13 16:57:04 -07:00
Douglas Felt
33dda32d9c 6697721: OpenJDK: rotated text baseline different between TextLayout and drawString
Reviewed-by: prr, igor
2008-05-13 16:56:22 -07:00
Phil Race
8011082abf 6696292: Printing transformed images accuracy problems
Reviewed-by: jgodinez, igor
2008-05-13 16:49:21 -07:00
Dan Munckton
95f191ea95 6636469: Java Fullscreen Exclusive Mode not working with Xorg server 1.3.0 and above
Improve the check for full exclusive screen support by analyzing RANDR extension version

Reviewed-by: tdv, prr
2008-05-13 16:46:06 -07:00
Phil Race
6014ce6668 6699843: IllegalArgumentException when using Graphics.drawString( "", 0, 0 )
Reviewed-by: igor, tdv
2008-05-13 16:18:30 -07:00
Xiomara Jayasena
d9300bad58 Merge 2008-05-13 11:33:06 -07:00
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