Commit Graph

294 Commits

Author SHA1 Message Date
Eamonn McManus
e2c297b29f 5041784: (reflect) generic signature methods needlessly return generic arrays
Reviewed-by: darcy
2008-08-27 11:03:59 +02:00
Alan Bateman
d41b0a77b2 6682020: (bf) Support monitoring of direct and mapped buffer usage
Reviewed-by: mchung, iris
2008-08-26 10:21:22 +01:00
Lana Steuck
f0ef7211c5 Merge 2008-08-25 13:58:15 -07:00
Dmitry Cherepanov
a16656700d 6737722: api/java_awt/TrayIcon/index.html#TrayIconHeadlessMode
IsSupported() should skip tray initialization in case of headless

Reviewed-by: art, ant
2008-08-25 19:15:37 +04:00
Bradford Wetmore
f1c6258165 Merge 2008-08-25 08:11:08 -07:00
Jean-Christophe Collet
29241c7694 6717876: Make java.net.NetworkInterface.getIndex() public
Make getIndex() and getByIndex() public. Required a name change in native code

Reviewed-by: alanb, chegar, michaelm
2008-08-25 14:38:20 +02:00
Xueming Shen
630d73eb0a 4486841: UTF-8 decoder should adhere to corrigendum to Unicode 3.0.1
6636317: Optimize UTF-8 coder for ASCII input

Re-write the UTF-8 charset to obey the standard and improve the performance

Reviewed-by: alanb
2008-08-22 14:37:46 -07:00
Joshua Bloch
2cb9d9610e 6739302: Check that deserialization preserves EnumSet integrity
Reviewed-by: dl, chegar
2008-08-20 13:45:12 -07:00
Bradford Wetmore
7ecbd27b2f Merge 2008-08-20 00:41:24 -07:00
Swamy Venkataramanappa
64b449dd2a 6736461: ThreadMXBean Locks.java fails intermittently
Fixed the test to wait for the right state before calling check thread information.

Reviewed-by: jjh
2008-08-19 12:46:34 -07:00
Swamy Venkataramanappa
f1f86e9fa2 6705893: javax.script tests should not require a js engine on OpenJDK
Fixed the tests to pass with open JDK.

Reviewed-by: darcy
2008-08-18 15:28:54 -07:00
Jim Holmlund
1c42f2e0d3 6737900: TEST: Some JDI regression tests timeout on slow machines
Don't execute useless code, and split test into multiple @runs.

Reviewed-by: tbell
2008-08-15 18:06:42 -07:00
Lana Steuck
189c383d48 Merge 2008-08-12 17:59:58 -07:00
Pavel Porvatov
3b50ea9003 6604281: NimbusL&F :Regression in Focus traversal in JFileChooser in pit build
Fixed calculation of preferred size in SynthButtonUI

Reviewed-by: loneid, peterz
2008-08-11 16:39:17 +04:00
Tim Bell
4a362b1ee2 Merge 2008-08-10 18:35:53 -07:00
Eamonn McManus
e2890ec21a 6610174: Improve CompositeDataSupport.toString when it includes arrays
Reviewed-by: dfuchs
2008-08-08 18:36:19 +02:00
Eamonn McManus
2d8b7bbf47 6334663: TabularDataSupport should be able to return values in the insertion order
Reviewed-by: dfuchs
2008-08-08 15:08:57 +02:00
Yuri Nesterenko
540f1f640a Merge 2008-08-08 03:32:34 -07:00
Tim Bell
6f9ae46ab8 Merge 2008-08-07 18:02:28 -07:00
Tim Bell
37f438af87 Merge 2008-08-07 09:42:31 -07:00
Martin Buchholz
a1269f9d94 6730507: java.util.Timer schedule delay Long.MAX_VALUE causes task to execute multiple times
Reviewed-by: chegar
2008-08-07 06:36:41 -07:00
Jiri Tusla
d914009a33 Merge 2008-08-07 04:52:05 -07:00
Swamy Venkataramanappa
072306e2f0 Merge 2008-08-06 10:49:31 -07:00
Swamy Venkataramanappa
5091305900 6732441: TEST_BUG: ThreadMXBeanProxy test fails intermittently
Fixed the race condition in the test.

Reviewed-by: jjh
2008-08-06 10:24:33 -07:00
Weijun Wang
6d08d079f0 6731685: CertificateFactory.generateCertificates throws IOException on PKCS7 cert chain
Reviewed-by: mullan
2008-08-06 08:11:49 +08:00
Eamonn McManus
e174ee8284 6733589: Intermittent failure of test/javax/management/eventService/SharingThreadTest.java
Reviewed-by: sjiang
2008-08-05 10:49:58 +02:00
Jim Holmlund
4c82d94e47 6730273: TEST: JDI_REGRESSION test Solaris32AndSolaris64Test.sh fails if -XX:+UseCompressedOops is used
Fix test to not pass -XX:[+-]UseCompressedOops to the debuggee.

Reviewed-by: tbell
2008-08-01 13:58:29 -07:00
Jiri Tusla
eca52f9d2c 6608572: Currency change for Malta and Cyprus
Change the respective currencies

Reviewed-by: naoto, jenda
2008-08-01 02:58:59 -07:00
Jiri Tusla
28ced6a8e3 6509039: Swedish localization has incorrect am/pm markers in FormatData_sv
Added respective section

Reviewed-by: peytoia, jenda
2008-08-01 01:46:31 -07:00
Doug Lea
1c84fa3582 6725789: ScheduledExecutorService does not work as expected in jdk7/6/5
Reviewed-by: martin, dholmes, chegar
2008-08-01 00:42:43 -07:00
Daniel Fuchs
3e4831d05d 6616825: JMX query returns no value in 1.0 compatibility mode - deserialization bug in readObject()
Reviewed-by: emcmanus
2008-07-31 17:38:55 +02:00
Shanliang Jiang
cf105cf085 5108776: Add reliable event handling to the JMX API
6218920: API bug - impossible to delete last MBeanServerForwarder on a connector

Reviewed-by: emcmanus
2008-07-31 15:31:13 +02:00
Daniel Fuchs
22260fb95d 6689505: Improve MBeanServerNotification.toString
Reviewed-by: emcmanus
2008-07-31 14:20:11 +02:00
Daniel Fuchs
192678a793 6730926: Document that create/registerMBean can throw RuntimeMBeanException from postRegister
Reviewed-by: emcmanus
2008-07-31 12:41:35 +02:00
Bradford Wetmore
e37f0f7e34 Merge 2008-07-29 10:18:25 -07:00
Jim Holmlund
ee07f33cc5 6730587: TEST: com/sun/jdi/MonitorFrameInfoTest.java fails with -server -Xcomp
Fix test to prevent C2 escape analysis from deleting the required synchronized blocks

Reviewed-by: swamyv
2008-07-28 12:37:52 -07:00
Igor Kushnirskiy
b4ae1216b3 6638195: need API for EventQueueDelegate
Reviewed-by: bchristi
2008-07-25 14:13:59 -04:00
Sergey Malenkov
873a9176c7 6630275: The spec on VetoableChangeSupport.fireVetoableChange should be updated
Reviewed-by: peterz, rupashka
2008-07-25 21:00:05 +04:00
Igor Kushnirskiy
f7be937495 6608456: need API to define RepaintManager per components hierarchy
Reviewed-by: alexp
2008-07-25 11:32:12 -04:00
Lana Steuck
025ca5d66a Merge 2008-07-24 21:12:50 -07:00
Sergey Malenkov
95dc5f8473 6707406: BasicColorChooserUI tests throw NPE while getColorSelectionModel if isPropertyChanged() returns true
Reviewed-by: peterz, rupashka
2008-07-24 17:30:59 +04:00
Mikhail Lapshin
c3732ffc5d 6725409: Unable to localize JInternalFrame system menu during run-time
Use of the static final constants replaced by direct calls of UIManager.getString().

Reviewed-by: alexp
2008-07-24 14:34:02 +04:00
Bradford Wetmore
54618c0601 Merge 2008-07-23 12:16:28 -07:00
Tim Bell
00e6ff0db3 Merge 2008-07-22 11:40:06 -07:00
Mikhail Lapshin
a44852b8fe 6607130: REGRESSION: JComboBox cell editor isn't hidden if the same value is selected with keyboard
JComboBox cell editor now hides if the same value is selected with keyboard

Reviewed-by: peterz, alexp
2008-07-21 19:58:43 +04:00
Dmitri Trembovetski
e4c9db984f 6725214: D3D: forward-port the new pipeline from 6u10
Forward port of the new Direct3D 9 rendering pipeline from 6u10. Also includes fixes for 6690659 6689025 6658398 6596234.

Reviewed-by: campbell, prr
2008-07-18 10:48:44 -07:00
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
Xueming Shen
ac6523031e Merge 2008-07-16 15:37:23 -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
Tim Bell
46aa35c92c Merge 2008-07-14 22:13:54 -07: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Lana Steuck
68717f2b81 Merge 2008-06-18 13:05:16 -07: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
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
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
Weijun Wang
b572eb5b2b 6711435: console.sh uses incompatible ==
Reviewed-by: xuelei
2008-06-10 11:03:23 +08: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
Tim Bell
21953a51cd Merge 2008-06-05 17:43:14 -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