Commit Graph

994 Commits

Author SHA1 Message Date
Andrei Dmitriev
efca767f82 6783910: (dav) java.awt.Color.brighter()/darker() methods make color opaque
Reviewed-by: art, yan
2010-11-30 21:54:55 +03:00
Lana Steuck
a0eaaf3f1e Merge 2010-11-29 10:50:49 -08:00
Naoto Sato
d2a42e4896 6807534: CurrencyNameProvider.getDisplayName(String, Locale) doesn't throw IllegalArgumentException
Reviewed-by: okutsu
2010-11-24 15:26:41 -08:00
Alan Bateman
b6b4b5086c 6878369: (ch) AsynchronousSocketChannel read/write methods that specify timeouts should not throw IAE
Reviewed-by: forax
2010-11-24 09:51:31 +00:00
Yuka Kamiya
2a09eb6d22 7002398: Apply Corrigendum #8 for Unicode 6.0.0
Reviewed-by: okutsu
2010-11-24 14:13:37 +09:00
Naoto Sato
0386e25365 6930106: Testcases with legal notice problems
Reviewed-by: ohair
2010-11-23 13:06:57 -08:00
John R Rose
aa7f1cc826 6979327: method handle invocation should use casts instead of type parameters to specify return type
Change result type parameters to result type casts.  (Also, replace private placeholder class InvokeDynamic.)

Reviewed-by: twisti
2010-11-22 22:41:31 -08:00
Valerie Peng
b3d5652149 6203816: Can not run test/java/security/Security/ClassLoaderDeadlock.sh from the command line
Fixed the script to not delete the provider sub-directory

Reviewed-by: weijun
2010-11-19 16:59:48 -08:00
Doug Lea
823b331f15 6712185: java/util/concurrent/Executors/AutoShutdown.java fails on slow or busy systems
Reviewed-by: chegar, alanb
2010-11-19 10:43:24 +00:00
Alan Bateman
c1b0efa732 7000913: (bf) CharBuffer.wrap, slice, position, slice leads to CharBuffer with incorrect offser
Reviewed-by: forax
2010-11-18 19:16:45 +00:00
Andrei Dmitriev
cd9eaf7bcc 6990904: (dav) on oel5.5, Frame doesn't show if the Frame has only a MenuBar as its component
Reviewed-by: dcherepanov, art
2010-11-18 14:26:19 +03:00
Sergey Malenkov
3f7a78b5b0 6447751: Bean Customizer should be detectable by reflection name alone
Reviewed-by: peterz
2010-11-17 22:17:01 +03:00
Naoto Sato
1451cced85 6997999: Remove duplicated entries from ISO language/country code tables
Reviewed-by: okutsu
2010-11-16 10:47:01 -08:00
Yuka Kamiya
4a4fb15178 6959267: Support Unicode 6.0.0
Reviewed-by: okutsu
2010-11-17 01:02:20 +09:00
Lana Steuck
41c256442e Merge 2010-11-15 19:05:15 -08:00
Xueming Shen
0407a3cf9e 6544278: SecurityException not thrown for Indexed Jar file whose signature is corrupted
Added code to deal with the index case specially.

Reviewed-by: mullan
2010-11-15 09:42:39 -08:00
Chris Hegarty
cdcbbea8cb 6993789: LinkedBlockingDeque iterator/descendingIterator loops and owns lock forever
Reviewed-by: dl, dholmes
2010-11-15 15:11:04 +00:00
Alan Bateman
4dfa884fe5 6999915: TEST_BUG: test/java/nio/channels/AsynchronousSocketChannel/Leaky.java failed intermittently (win)
Reviewed-by: forax
2010-11-15 14:34:04 +00:00
Joe Darcy
3aae57e052 6991528: Support making Throwable.suppressedExceptions immutable
Reviewed-by: mchung, dholmes
2010-11-14 07:22:39 -08:00
Lana Steuck
c420cdefc2 Merge 2010-11-13 18:56:50 -08:00
Lana Steuck
b2e3b2f545 Merge 2010-11-12 15:07:29 -08:00
Erik Trimble
ae511866fd Merge 2010-11-10 20:40:19 -08:00
Andrei Dmitriev
1524b98ebc 6960516: sun.awt.UngrabEvent has an ID over AWTEvent.RESERVED_ID_MAX
Reviewed-by: dcherepanov, art
2010-11-10 10:38:18 +03:00
Alan Bateman
8b7cdbeb44 Merge 2010-11-09 18:57:12 +00:00
Alan Bateman
4f08e82908 6979009: (fc) FileChannel.read() fails to throw ClosedByInterruptException
Reviewed-by: forax, sherman, chegar
2010-11-09 18:56:39 +00:00
Kelly O'Hair
39a2b6c9ff 6792706: Add JAR file to bootclasspath when using AggressiveOpts
Reviewed-by: alanb, kvn, darcy
2010-11-08 09:29:18 -08:00
Sean Mullan
8676006f11 6994717: expired certificate in test ValidateCertPath
Reviewed-by: vinnie
2010-11-08 11:33:24 -05:00
Anthony Petrov
a77052796a 6988428: Shape is not applied sometimes
Always call ::SetWindowRgn() on the toolkit thread

Reviewed-by: art, dcherepanov
2010-11-08 17:51:35 +03:00
Naoto Sato
ddf465f954 6997928: LocaleCategory test fails with b118 PIT
Reviewed-by: sherman
2010-11-05 20:58:10 -07:00
Lana Steuck
ac1e3ac7bc Merge 2010-11-05 08:18:46 -07:00
Erik Trimble
9c9fc5ccc2 Merge 2010-11-04 16:09:49 -07:00
Lana Steuck
431c033058 Merge 2010-11-04 15:38:39 -07:00
Mandy Chung
fb4886a3b5 6720170: ByteArrayInputStream.skip(long) can overflow internally
Reviewed-by: dholmes, alanb
2010-11-04 14:19:31 -07:00
Lana Steuck
fba090f3e8 Merge 2010-11-02 19:40:45 -07:00
Lana Steuck
458c60b276 Merge 2010-11-02 12:45:49 -07:00
Naoto Sato
63cb31c203 6989111: Incorrect default locale for New Zealand
6990452: Provide system properties for the user specified script
6992312: Currency becomes XXX if do not specify user.country.format

Reviewed-by: okutsu
2010-11-02 10:34:46 -07:00
Alan Bateman
b1deb7b1e3 6431343: (dc) DatagramChannel may not report its local address correctly after connect or disconnect
Reviewed-by: chegar
2010-11-02 10:07:21 +00:00
Alan Bateman
c51ac2a369 6993126: (aio) remove AsynchronousDatagramChannel
Reviewed-by: chegar
2010-11-02 10:05:42 +00:00
John R Rose
4f508abf49 6981777: implement JSR 292 EG adjustments from summer 2010
Reviewed-by: twisti
2010-10-30 21:08:23 -07:00
John R Rose
2a322bbd1d 6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
JDK changes which run atop the corresponding JVM hook

Reviewed-by: never, twisti
2010-10-30 21:02:30 -07:00
Naoto Sato
d6aaa2692f 6993339: Bug4168625Test.java fails
Reviewed-by: peytoia
2010-10-22 11:32:26 -07:00
Alan Bateman
f8b4e1e1bd 6816049: (bf) MappedByteBuffer.force() method does not flush data correctly
Reviewed-by: chegar
2010-10-22 17:40:31 +01:00
Sergey Malenkov
704780d250 4358979: javax.swing.border should have a DashedBorder
Reviewed-by: flar, alexp
2010-10-21 20:41:20 +04:00
Alan Bateman
c6d66451cf 6993267: TEST_BUG: java/nio/file/Path/InterruptCopy.java fails intermittently (win)
Reviewed-by: forax
2010-10-21 14:39:58 +01:00
Mandy Chung
d0f3de3b59 6992121: StringBuilder.ensureCapacity(int minCap) throws OutOfMemoryError with minCap=Integer.MIN_VALUE
Reviewed-by: dholmes, alanb
2010-10-19 10:02:25 -07:00
Mandy Chung
441155f0d9 6992968: test/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh should not hang
Reviewed-by: alanb, dholmes
2010-10-19 09:49:08 -07:00
Lana Steuck
45d07f9520 Merge 2010-10-18 21:50:02 -07:00
Lana Steuck
725109cea1 Merge 2010-10-18 21:46:27 -07:00
Lana Steuck
cfb1ea458c Merge 2010-10-18 21:44:47 -07:00
Yoshito Umaoka
8df28ab0e3 6992272: I18N: Locale.getDisplayName() and toString() return empty if just script is set
Reviewed-by: srl
2010-10-18 14:45:00 -07:00
Lana Steuck
67a5640f22 Merge 2010-10-18 12:43:39 -07:00
Sean Coffey
9b05f554fa 6974104: TEST: sun/nio/ch/6645197.java should be fixed in 1.5.0u25b05 and jdk6 workspace
Reviewed-by: alanb
2010-10-18 18:04:02 +01:00
Alan Bateman
7ed3e0a896 4837564: (bf) Please make DirectByteBuffer performance enhancements
Reviewed-by: chegar
2010-10-18 10:29:59 +01:00
Lana Steuck
42fc60ebfd Merge 2010-10-17 19:43:33 -07:00
Lana Steuck
649b50b659 Merge 2010-10-15 11:45:30 -07:00
Alan Bateman
444dc7067b 6743526: (bf) -XX:MaxDirectMemorySize=<size> limits memory usage rather than total capacity as intended
Reviewed-by: chegar
2010-10-15 15:09:37 +01:00
Vladimir Yaroslavskiy
aa1307fc6e 6976036: Dual-pivot quicksort update (10/2010 tune-up)
Reviewed-by: alanb
2010-10-15 12:10:32 +01:00
Andrew Brygin
5e04c64e9e 6773022: java.awt.image.SampleModel.getDataElements() does't throw ArrayIndexOutOfBoundsEx for Integer.MAX_V
Reviewed-by: igor, prr
2010-10-15 11:26:43 +04:00
Dmitry Cherepanov
0af2737f3a 6838089: java.awt.Window.setOpacity() doesn't throw IllegalComponentStateException for two-display conf
Reviewed-by: art, anthony
2010-10-14 18:56:18 +04:00
Lana Steuck
0ffa1c4042 Merge 2010-10-13 17:51:41 -07:00
Yoshito Umaoka
822884735d 6989440: tomcat test from dacapo benchmark fails with ConcurrentModificationException
Reviewed-by: okutsu
2010-10-12 17:09:14 -07:00
Anthony Petrov
bc52d31ebd 6895647: Frame may jump to an unpredicted location upon entering the non-opaque mode on X11
Make sure the size hints are set before mapping the window on the screen

Reviewed-by: art, dcherepanov
2010-10-12 15:52:58 +04:00
Yuka Kamiya
55f7d8222a 6970930: RuleBasedCollator.compare(String,null) throws IAE (should be NPE)
Reviewed-by: okutsu
2010-10-08 09:50:56 +09:00
Alan Bateman
39bcf3ff5f 6983520: java/io/pathNames/GeneralWin32.java fails with jdk7-b108 (win)
Reviewed-by: sherman
2010-10-12 09:46:17 +01:00
Alan Bateman
79abb3e80f 6728842: File.setReadOnly does not make a directory read-only (win)
6464744: java/io/File/SetAccess.java ignores sticky bit

Reviewed-by: forax
2010-10-12 08:49:33 +01:00
Mandy Chung
d990871881 6977738: Deadlock between java.lang.ClassLoader and java.util.Properties
Reviewed-by: alanb, sherman, darcy, igor
2010-10-11 20:22:27 -07:00
Alan Bateman
1550d01979 6989903: (process) test/java/lang/ProcessBuilder/Basic.java failing with "Bad file number" (sol)
Reviewed-by: ohair, chegar
2010-10-07 10:35:36 +01:00
Artem Ananiev
42867588ae 6829546: Modal dialog causes underlying parent JFrame to be set to "Always on top"
Reviewed-by: anthony, dcherepanov
2010-10-05 18:12:04 +04:00
Alan Bateman
246920e930 6987116: (so) test/java/nio/channels/SocketChannel/VectorIO.java failed on Solaris 11
Reviewed-by: forax
2010-10-05 15:07:40 +01:00
Lana Steuck
98a4c7fec4 Merge 2010-10-04 14:39:57 -07:00
Lana Steuck
f8a4e42fb3 Merge 2010-10-04 14:38:14 -07:00
Lana Steuck
70586de1c1 Merge 2010-10-04 14:36:45 -07:00
Alan Bateman
41cc1e2f4a 6989190: SO_SNDBUF/SO_RCVBUF limits should only be checked when setsockopt fails (sol)
Reviewed-by: chegar, michaelm
2010-10-04 14:17:36 +01:00
Andrei Dmitriev
fbb62aa566 6847155: test/java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Extra.java fails
Reviewed-by: denis
2010-10-04 11:40:07 +04:00
Alan Bateman
b44a1bd105 6907737: (file) FileVisitor and Files.walkFileTree issues
Reviewed-by: sherman
2010-10-03 19:39:25 +01:00
Alan Bateman
afac13bfe2 6979526: (file) java/nio/file/FileStore/Basic.java fails if the same file system is mounted more than once
Reviewed-by: kevinw, forax
2010-10-02 12:59:04 +01:00
Andrei Dmitriev
9c946f5a9c 6829267: Regression test java/awt/Toolkit/ToolkitPropertyTest/ToolkitPropertyTest_Enable.java fails in RHEL5
Reviewed-by: art, anthony
2010-10-01 15:10:32 +04:00
Andrew Brygin
13069fe969 6735275: java.awt.image.SampleModel.getSamples() methods not allways throw ArrayIndexOutOfBoundsException
Reviewed-by: igor, prr
2010-09-29 10:44:02 +04:00
Lana Steuck
b3583c3d0d Merge 2010-09-28 00:20:15 -07:00
Anton Tarasov
0969410407 6886678: Clicking on parent JFrame's client area does not switch focus from JWindow to JFrame on Windows
Reviewed-by: dcherepanov, art
2010-09-27 17:38:57 +04:00
Sergey Malenkov
b90f2341f9 6976577: JCK7 api/java_beans/EventSetDescriptor/descriptions.html#Ctor1 fails since jdk7 b102
Reviewed-by: peterz
2010-09-27 13:38:49 +04:00
Lana Steuck
53e6cf8989 Merge 2010-09-25 12:00:05 -07:00
Doug Lea
94ffffd5cb 6981113: Add ConcurrentLinkedDeque
Extend techniques developed for ConcurrentLinkedQueue and LinkedTransferQueue to implement a non-blocking concurrent Deque with interior removes.

Reviewed-by: martin, dholmes, chegar
2010-09-20 18:05:09 -07:00
Martin Buchholz
11cc8fa5e6 6981138: (process) Process.waitFor() may hang if subprocess has live descendants (lnx)
Do exit status handling before trying to close streams

Reviewed-by: alanb, dholmes
2010-09-17 14:35:00 -07:00
Lana Steuck
a682d9348d Merge 2010-09-16 11:19:43 -07:00
Lana Steuck
3921d2c36d Merge 2010-09-16 11:17:32 -07:00
Lana Steuck
734c8fdcc0 Merge 2010-09-16 11:16:02 -07:00
Alan Bateman
55b13f6d55 6984545: (fc) transferFrom does not throw NonReadableChannelException when target is size 0 and non-readable
Reviewed-by: forax
2010-09-15 15:13:50 +01:00
John R Rose
82088e1e2b 6982752: dynamic languages need to decorate types with runtime information
Add ClassValue

Reviewed-by: twisti
2010-09-14 01:42:03 -07:00
Masayoshi Okutsu
65b5c68b97 6984418: (cal) GregorianCalendar.setWeekDate doesn't check parameter consistency in non-lenient
Reviewed-by: peytoia
2010-09-14 16:47:28 +09:00
Doug Lea
a4641686a0 6978087: jsr166y Updates
Simplify the ForkJoinPool API, reworking some of the internals

Reviewed-by: martin, dholmes, chegar
2010-09-13 09:55:03 +01:00
Yoshito Umaoka
fbca39ee5d 6875847: Java Locale Enhancement
Co-authored-by: Doug Felt <dougfelt@google.com>
Co-authored-by: Mark Davis <markdavis@google.com>
Reviewed-by: srl
2010-09-10 15:29:40 -07:00
Alan Bateman
ba3ab12326 6983794: TEST_BUG: test/java/nio/channels/Selector/ConnectWrite.java failing
Reviewed-by: chegar
2010-09-10 18:48:49 +01:00
Alan Bateman
0fb0f54897 6881498: (file) Re-examine DirectoryStream exception handling
Reviewed-by: forax
2010-09-10 16:36:48 +01:00
Masayoshi Okutsu
dea3e2e152 6912560: Timezone is not set correctly on Win Vista when Security manager is present
6941137: DST broken in 6u18 when jre/lib/zi is moved elsewhere and replaced with symlink

Reviewed-by: peytoia
2010-09-10 17:51:53 +09:00
Kelly O'Hair
f7e31fc6c2 6982137: Rebranding pass 2 - missed copyright changes
Reviewed-by: mbykov
2010-09-09 16:26:46 -07:00
Masayoshi Okutsu
3a9f12ff35 4919632: RFE: SimpleDateFormat should fully support ISO8601 standard for timezone
Reviewed-by: peytoia
2010-09-09 15:37:57 +09:00
John R Rose
45c90a843e 6953246: JSR 292 should support SAM conversion
Conversion function MethodHandles.asInstance; initial slow implementation based on Proxy.

Reviewed-by: twisti
2010-09-08 18:40:34 -07:00
John R Rose
6fbfeff4e2 6980096: JSR 292 reflective lookup should throw checked exceptions
Make NoAccessException be a checked exception.  Also remove JavaMethodHandle.

Reviewed-by: twisti
2010-09-08 18:40:23 -07:00
John R Rose
c7b608b1ed 6964498: JSR 292 invokedynamic sites need local bootstrap methods
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs; add MethodHandleProvider.

Reviewed-by: twisti
2010-09-08 18:40:11 -07:00
Lana Steuck
022ee216f4 Merge 2010-09-02 12:17:21 -07:00
Naoto Sato
9a37a1e776 6930062: Need to remove or build as part of the test file jdk/test/java/util/Locale/data/deflocale.exe
Reviewed-by: okutsu
2010-09-02 11:13:42 -07:00
Naoto Sato
caef089b98 6981759: copyright header fix for test/java/util/Locale/LocaleCategory.java
Reviewed-by: okutsu
2010-09-02 11:09:09 -07:00
Lana Steuck
34f54b7bb3 Merge 2010-09-02 00:02:23 -07:00
Masayoshi Okutsu
bb11fa02a6 Merge 2010-09-02 10:52:52 +09:00
Lana Steuck
77b5bbb1b5 Merge 2010-09-01 16:15:57 -07:00
Naoto Sato
63495e2114 6981466: Adding missing test LocaleCategory.java
Reviewed-by: okutsu
2010-08-31 23:56:17 -07:00
Masayoshi Okutsu
d950166573 4267450: (cal) API: Need public API to calculate, format and parse "year of week"
6549953: (cal) WEEK_OF_YEAR and DAY_OF_YEAR calculation problems around Gregorian cutover

Reviewed-by: peytoia
2010-09-01 15:19:13 +09:00
Naoto Sato
6d2cb04013 4700857: RFE: separating user locale and user interface locale
Reviewed-by: okutsu
2010-08-31 11:27:10 -07:00
Mandy Chung
c8f3efcc75 6981005: TEST BUG: java/lang/ClassLoader/TestCrossDelegate.sh timeout on windows
Increase timeout value

Reviewed-by: alanb
2010-08-31 09:15:34 -07:00
Andrei Dmitriev
41e1560d14 6480547: REG: bug 4118621 which got Integrated in 1.1.8 fails in mustang from b25 onwards
6808185: test/closed/java/awt/Menu/NullMenuLabelTest crashes

Reviewed-by: dcherepanov
2010-08-31 15:05:09 +04:00
Martin Buchholz
aff3ad21b8 6980747: Runtime.exec can fail due to SecurityException (lnx)
Add missing doPrivileged to UNIXProcess.java.linux

Reviewed-by: alanb
2010-08-28 12:15:52 -07:00
Artem Ananiev
28253f9cb3 6949936: Provide API for running nested events loops, similar to what modal dialogs do
Reviewed-by: ant, anthony
2010-08-24 12:54:46 +04:00
Alan Bateman
b7ca44871e 6978511: (file) Path.toRealPath should fail if not resolving links and file does not exist
Reviewed-by: forax, chegar
2010-08-23 17:11:07 +01:00
Michael McMahon
8eca7db307 6339649: URI.create should include a detail message when throwing IllegalArgumentException
Create enclosing exception with message of enclosed

Reviewed-by: alanb, chegar
2010-08-17 14:49:01 +01:00
Mandy Chung
a33a3ae92b 6921234: TEST_BUG: java/lang/ClassLoader/deadlock/TestCrossDelegate.sh needs to be modified for Cygwin
Add check for CYGWIN

Reviewed-by: ohair
2010-08-16 15:36:13 -07:00
Lana Steuck
3d517c6b50 Merge 2010-08-02 19:45:28 -07:00
Sergey Malenkov
e51e3b724f 6972468: Security manager should be used for tests in java/beans/XMLEncoder
Reviewed-by: peterz
2010-07-30 19:40:29 +04:00
Lana Steuck
99a605b4b3 Merge 2010-07-29 22:02:45 -07:00
Alan Bateman
1736731b74 6934977: (bf) MappedByteBuffer.load can SIGBUS if file is truncated
6799037: (fs) MappedByteBuffer.load crash with unaligned file-mapping (sol)

Reviewed-by: chegar, forax
2010-07-29 13:08:58 +01:00
Daniel D. Daugherty
cf3105821b 6971847: 4/4 jmap '-histo:live' option is necessary for proper leak detection
Add work around for 6971851. Abort if 'histo:live' option isn't supported.

Reviewed-by: alanb, darcy
2010-07-26 09:06:47 -07:00
Daniel D. Daugherty
7dea7787e2 6964018: 3/4 AnonLoggerWeakRefLeak and LoggerWeakRefLeak can fail in JPRT
Refactor test/sun/tools/common/* code and refactor AnonLoggerWeakRefLeak and LoggerWeakRefLeak to use it.

Reviewed-by: ohair, alanb
2010-07-21 17:01:31 -07:00
Alan Bateman
11b424e02b 6963907: (so) Socket adapter need to implement sendUrgentData
Reviewed-by: chegar
2010-07-21 18:08:46 +01:00
Chris Hegarty
c7d240fc1a 6970262: TEST_BUG: test/java/net/NetworkInterface/IPv4Only.java has wrong test name in @run tag
Reviewed-by: alanb, dsamersoff
2010-07-21 13:52:38 +01:00
Chris Hegarty
2890d62dbb 6969395: TEST_BUG: Tests in java/net sun/net problems
Reviewed-by: alanb
2010-07-21 13:29:26 +01:00
Joe Darcy
7dcb52915b 6963622: Project Coin: Refinements to suppressed exceptions
Reviewed-by: alanb, forax, jjb
2010-07-15 18:02:05 -07:00
Dmitry Samersoff
bd18ff374c 6964714: NetworkInterface getInetAddresses enumerates IPv6 addresses if java.net.preferIPvStack property set
User can disable ipv6 explicitly, have to check it

Reviewed-by: chegar, alanb
2010-07-13 15:32:36 +04:00
Lana Steuck
6b9ad54671 Merge 2010-07-12 19:42:02 -07:00
Lana Steuck
be587b0b28 Merge 2010-07-12 19:35:11 -07:00
Lana Steuck
8baf254d15 Merge 2010-07-12 19:33:50 -07:00
Igor Nekrestyanov
9ab742ede8 6968373: FontUtilities static initializer throws AccessControlException
Reviewed-by: prr
2010-07-12 15:11:20 -07:00
Daniel D. Daugherty
ccbd107813 6968401: 3/3 disable tests added by 6942989 until 6964018 is fixed
Disable AnonLoggerWeakRefLeak.sh and LoggerWeakRefLeak.sh

Reviewed-by: ohair
2010-07-12 14:19:44 -07:00
Chris Hegarty
25c1ab1e55 6967937: Scope id no longer being set after 6931566
Reviewed-by: alanb, dsamersoff
2010-07-12 18:13:40 +01:00
Sergey Malenkov
2ca2c1d52f 6963811: Deadlock-prone locking changes in Introspector
Reviewed-by: peterz, rupashka
2010-07-09 22:07:39 +04:00
Lana Steuck
ddc7fcdc27 Merge 2010-07-08 11:28:01 -07:00
Artem Ananiev
983ec86773 6424157: java.awt.EventQueue push/pop might cause threading issues
Reviewed-by: ant, dcherepanov
2010-07-06 17:59:56 +04:00
Vladimir Yaroslavskiy
6593dfa333 6947216: Even more Dual-pivot quicksort improvements
Reviewed-by: jjb
2010-07-01 16:28:08 +01:00
Lana Steuck
04b6a83eb6 Merge 2010-06-30 19:05:50 -07:00
Ulf Zibis
ff895e1ca9 6933322: Add methods highSurrogate(), lowSurrogate() to class Character
Add public variants of methods Surrogate.high, Surrogate.low

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
9c81e25271 6937112: String.lastIndexOf confused by unpaired trailing surrogate
Rewrite lastIndexOf for performance and correctness

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
a0f3e72c24 6934265: Add public method Character.isBmpCodePoint
Move isBmpCodePoint from sun.nio.cs.Surrogate to Character

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Lana Steuck
67de841056 Merge 2010-06-29 22:34:59 -07:00
Lana Steuck
acc448eb85 Merge 2010-06-29 10:50:11 -07:00
Alan Bateman
62b559b4e9 6213702: (so) non-blocking sockets with TCP urgent disabled get still selected for read ops (win)
Reviewed-by: michaelm, chegar
2010-06-29 17:11:12 +01:00
Chris Hegarty
8dd995ca0d 6961029: java/net/BindException/Test.java should not use wildcard address
Reviewed-by: michaelm, alanb
2010-06-28 20:52:37 +01:00
Chris Hegarty
fba8695a1c Merge 2010-06-28 15:06:24 +01:00
Chris Hegarty
85a8187c52 6954525: Testcase failure java/net/Authenticator/B4769350.java
Reviewed-by: michaelm, weijun
2010-06-28 14:55:25 +01:00
Alan Bateman
efa88ff48b 6963828: TEST_BUG: java/nio/channels/FileTransfer.java takes too long (win)
Reviewed-by: chegar
2010-06-25 18:31:41 +01:00
Joshua Bloch
50f960454d 6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
6911261: Project Coin: Retrofit Automatic Resource Management (ARM) support onto platform APIs
6962571: Infinite loop in printing out Throwable stack traces with circular references

Reviewed-by: darcy, alanb
2010-06-23 17:03:40 -07:00
Alan Bateman
670501c6c6 6963027: TEST_BUG: channels and buffer tests need to run in samevm mode
Reviewed-by: ohair, sherman, chegar
2010-06-23 20:19:29 +01:00
Jeremy Manson
9a0c9857b1 6942989: 2/2 Memory leak of java.lang.ref.WeakReference objects
Use ReferenceQueues to manage WeakReferences in LogManager and Logger.

Reviewed-by: dholmes, alanb, emcmanus, tonyp
2010-06-22 10:54:59 -07:00
Sergey Malenkov
3cd3bb0958 6707234: Method returned by Introspector.internalFindMethod not necessarily most specific
Reviewed-by: peterz
2010-06-22 12:06:33 +04:00
Lana Steuck
ac40d6f126 Merge 2010-06-21 22:08:10 -07:00
Alan Bateman
909d0bb109 6962419: TEST_BUG: java_io tests fails in samevm mode
Reviewed-by: ohair, sherman
2010-06-19 15:17:36 +01:00
John R Rose
2fb4d43825 Merge 2010-06-19 01:14:40 -07:00
John R Rose
f3779adaed Merge 2010-06-18 15:23:57 -07:00
Alan Bateman
30e0321d0a 6962045: TEST_BUG: Tests in test/java/io/Serializable leave files open
Reviewed-by: mchung
2010-06-18 20:59:13 +01:00
Mandy Chung
0a801a25db 6961894: TEST_BUG: jdk_lang tests fail in samevm mode
Fixed jdk_lang tests to run in samevm mode or mark to run in othervm

Reviewed-by: alanb
2010-06-18 09:35:22 -07:00
Alan Bateman
0b946fc36e 4981129: (dc) DatagramSocket created by DatagramChannel does not provide sender info
Reviewed-by: chegar
2010-06-18 16:16:51 +01:00
Xueming Shen
12d90b9484 6962067: TEST_BUG: Tests in java/util/zip/ZipFile leave file open
Close zipfile and io stream when done

Reviewed-by: alanb
2010-06-17 13:21:46 -07:00
Alan Bateman
29b2194847 6395224: (so) SocketChannel writer blocked on large buffer is not preempted by close method (vista)
Reviewed-by: chegar
2010-06-17 17:49:59 +01:00
Mandy Chung
ec720fb754 6961408: test/java/util/logging/ParentLoggersTest.java fails in samevm mode
Check against the list of loggers added since the test begins to run

Reviewed-by: dcubed
2010-06-16 23:27:41 -07:00
Lana Steuck
ce4febb72c Merge 2010-06-16 14:07:47 -07:00
Mandy Chung
0f0ac3ef39 6961502: TEST_BUG: test/java/lang/ClassLoader/defineClass/DefineClassByteBuffer.java fails
Fix the test to define TestClass by DummyClassLoader as it intends to do

Reviewed-by: alanb
2010-06-16 12:40:22 -07:00
Alan Bateman
dadf7053f7 6961630: TEST_BUG: Several SocketChannel and Selector tests can fail with "address already in use"
Reviewed-by: chegar
2010-06-16 14:24:46 +01:00
Anthony Petrov
f79194f505 6959787: java/awt/FileDialog/FilenameFilterTest/FilenameFilterTest.html failed on 7b94
Add a delay to the test to make sure the filename filters are called.

Reviewed-by: dcherepanov, art
2010-06-16 11:26:15 +04:00
Mandy Chung
008e969429 6961506: TEST_BUG: ResourceBundle/Bug4168625Test.java and TestBug4179766.java fails in samevm mode
Set the proper parent class loader of Loader and SimpleLoader

Reviewed-by: naoto
2010-06-15 20:34:49 -07:00
Mandy Chung
fc99cf1793 6961518: TEST_BUG: add @run main/othervm in tests that call setSecurityManager
Mark tests to run in othervm

Reviewed-by: ohair
2010-06-15 20:29:22 -07:00
Alan Bateman
a98209a61f Merge 2010-06-15 21:43:59 +01:00
Mandy Chung
9e05cd8605 6959641: testcase failing java/util/Locale/Bug4184873Test.java
Revert the Bug4184873_{he,id,yi} files to revision 0 (before rebranding)

Reviewed-by: naoto
2010-06-15 09:54:03 -07:00
Alan Bateman
cee6cf433e 6961358: TEST_BUG: java/nio/channels/SocketChannel/OpenLeak.java can't run in samevm mode
Reviewed-by: chegar
2010-06-15 16:42:54 +01:00
Alan Bateman
52c2b63a7a 6932744: TEST_BUG: java/nio/channels/Selector/OpRead.java failing
Reviewed-by: chegar
2010-06-15 16:36:20 +01:00
Alan Bateman
788f7f3485 6961062: (dc) Several DatagramChannel tests timeout or fail with "address already in use"
Reviewed-by: chegar
2010-06-15 10:03:37 +01:00
Martin Buchholz
45b78120fc 6944584: Improvements to subprocess handling on Unix
Use thread pool for reaper thread; move most I/O operations out of reaper thread

Reviewed-by: michaelm, hiroshi
2010-06-11 18:55:45 -07:00
Alan Bateman
82adf1a224 6934585: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic.java
Reviewed-by: chegar
2010-06-11 14:31:26 +01:00
Alan Bateman
3c05d51ed6 6935563: (dc) Improve connection reset/port unreachable handling [win]
Reviewed-by: chegar
2010-06-09 18:51:32 +01:00
John R Rose
4df63bafc0 6939203: JSR 292 needs method handle constants
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType to verifier; put in runtime support upcall.

Reviewed-by: twisti
2010-06-08 23:08:56 -07:00
Chris Hegarty
2f408651fb 6957375: java/net/ResponseCache getResponseCode and ResponseCacheTest fail after rebranding
Reviewed-by: ohair, wetmore, alanb
2010-06-08 10:46:14 +01:00
Lana Steuck
27a539e27c Merge 2010-06-07 17:08:26 -07:00
Lana Steuck
2c036dc823 Merge 2010-06-01 21:36:00 -07:00
Lana Steuck
282d182ec2 Merge 2010-06-01 14:17:38 -07:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Kelly O'Hair
80b67f81af 6956202: Fix a few missed rebranding issues, please contact lines etc
Reviewed-by: jjg, darcy, weijun
2010-05-26 20:28:04 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Lana Steuck
ff8daaf36c Merge 2010-05-24 09:06:11 -07:00
Xueming Shen
0bc8b10673 4691425: GZIPInputStream fails to read concatenated .gz files
To support concatenated .gz streams

Reviewed-by: martin
2010-05-24 00:39:57 -04:00
Weijun Wang
37ae69dba3 6948781: CertificateFactory.generateCertificate doesn't throw CertificateException for malformed certificate
Reviewed-by: mullan
2010-05-24 09:37:16 +08:00
Lana Steuck
f5b5248994 Merge 2010-05-21 17:49:15 -07:00
Michael McMahon
8f950e676a 6773270: java.net.URI fails to escape \u0000
Check for \u0000

Reviewed-by: alanb
2010-05-21 07:29:48 +01:00
Sergey Malenkov
cd6f30d3bc 6479191: LTP: XMLEncoder does not update initialized property of GridBagConstraints type
Reviewed-by: rupashka
2010-05-20 18:44:51 +04:00
Xueming Shen
bb2be852aa 6945564: Unicode script support in Character class
6948903: Make Unicode scripts available for use in regular expressions

Added Unicode script suport

Reviewed-by: martin
2010-05-18 15:36:47 -07:00
Xueming Shen
6d1dc62ab1 4813885: RFE: GZIPOutputStream should implement flush using Z_SYNC_FLUSH
Added new constructors to allow flush() work in Z_SYNC_FLUSH mode

Reviewed-by: martin
2010-05-17 12:19:49 -07:00
Martin Buchholz
3927da83d0 6952330: Fix for 6933217 broke contract of StringBuffer.ensureCapacity
Make sure to grow with size => size * 2 + 2

Reviewed-by: dholmes, chegar, ohair
2010-05-13 21:56:13 -07:00
Kelly O'Hair
56131863a7 6943915: Adjust jdk/test/Makefile to deal with .dll and .so libraries needing execute permissions
And adjustments to test problem list.

Reviewed-by: jjg
2010-05-12 21:35:55 -07:00
Lana Steuck
6125917976 Merge 2010-05-11 16:35:36 -07:00
Martin Buchholz
75e3cde928 6937857: Concurrent calls to new Random() not random enough
Seed uniquifier should use an independent PRNG

Reviewed-by: dl
2010-05-09 16:03:13 -07:00
Martin Buchholz
b455514c89 6950540: PriorityQueue(collection) should throw NPE if collection contains a null
Rewrite PriorityQueue constructors for best performance and error handling

Reviewed-by: dholmes, chegar
2010-05-09 00:59:49 -07:00
John R Rose
07ee2dd259 6939196: method handle signatures off the boot class path get linkage errors
Remove workaround from MethodHandleImpl lookup code; add JUnit regression test to MethodHandlesTest.

Reviewed-by: twisti
2010-05-03 23:32:47 -07:00
Lana Steuck
fadbc27979 Merge 2010-05-02 15:54:20 -07:00
John R Rose
0d30a781cf 6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces

Reviewed-by: twisti
2010-04-30 23:48:23 -07:00
Lana Steuck
5d6c7f37ba Merge 2010-04-30 11:03:38 -07:00
Chris Hegarty
77a56e5d33 6718504: IN6_IS_ADDR_ANY tests only 12 bytes of 16-byte address
Reviewed-by: alanb
2010-04-27 09:42:51 +01:00
Yuka Kamiya
ed15f54cfb 6943963: NumericShaper with ARABIC doesn't shape digits correctly after calling another instance
Reviewed-by: okutsu
2010-04-21 10:34:56 +09:00
Lana Steuck
561ea30dc6 Merge 2010-04-20 16:51:13 -07:00
Naoto Sato
4d2c11649f 6943941: Rebranding issues with some tests in jdk/test/java/util
Reviewed-by: ohair
2010-04-19 14:48:46 -07:00
Lana Steuck
552f2a578c Merge 2010-04-17 08:12:00 -07:00
Xueming Shen
d0a7eafe8d 6931676: TEST_BUG: wrong value for bugid in comments
Update to the correct bugid

Reviewed-by: martin
2010-04-15 17:00:55 -07:00
Lana Steuck
951fbb9129 Merge 2010-04-15 11:51:48 -07:00
Masayoshi Okutsu
6cfd12db85 6941948: NumaricShaper.shape() doesn't work with NumericShaper.Range.EASTERN_ARABIC
Reviewed-by: peytoia
2010-04-14 13:53:17 +09:00
Lana Steuck
e98b3651ea Merge 2010-04-08 15:34:29 -07:00
Martin Buchholz
6b4917957f 6941130: Semaphore should throw if number of permits overflows or underflows
Check if release could make number of permits negative

Reviewed-by: dl, dholmes
2010-04-07 12:30:49 -07:00
Chris Hegarty
cb7c94da7e 6648001: Cancelling HTTP authentication causes subsequent deadlocks
Reviewed-by: michaelm
2010-04-06 13:47:59 +01:00
Abhijit Saha
9039997db4 Merge 2010-04-05 16:11:59 -07:00
Xueming Shen
ec70851450 4947220: (process)Runtime.exec() cannot invoke applications with unicode parameters(win)
To use CreateProcessW on Windowns platform

Reviewed-by: martin
2010-04-03 18:29:11 -07:00
Xueming Shen
0020f5af66 6902790: Converting/displaying HKSCs characters issue on Vista and Windows7
6911753: NSN wants to add Big5 HKSCS-2004 support

Support HKSCS2008 in Big5_HKSCS and MS950_HKSCS

Reviewed-by: okutsu
2010-03-30 19:10:47 -07:00
Abhijit Saha
3ec9318035 Merge 2010-03-25 07:12:43 -07:00
Chris Hegarty
6fb499dc04 6937703: java/net regression test issues with samevm
Reviewed-by: alanb
2010-03-25 09:38:56 +00:00
Weijun Wang
512e4f93a3 6813340: X509Factory should not depend on is.available()==0
Reviewed-by: xuelei
2010-03-25 12:07:42 +08:00
Abhijit Saha
b60d36a19a Merge 2010-03-24 14:16:57 -07:00
Chris Hegarty
6fb9ea7278 6935233: java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java fails with modules build
Reviewed-by: alanb
2010-03-19 13:07:42 +00:00
Lana Steuck
7268d4595b Merge 2010-03-18 18:52:10 -07:00
Lana Steuck
1f82f6a3f0 Merge 2010-03-17 14:19:07 -07:00
Chris Hegarty
9b23617373 6935199: java/net regression tests failing with Assertions
Reviewed-by: michaelm
2010-03-16 14:31:57 +00:00
Chris Hegarty
f2034e6bba 6934923: test/java/net/ipv6tests/TcpTest.java hangs on Solaris 10
Reviewed-by: alanb
2010-03-16 10:05:51 +00:00
Damjan Jovanovic
63a75eead0 6223635: Code hangs at connect call even when Timeout is specified when using a socks proxy
Reviewed-by: michaelm, chegar
2010-03-11 17:50:30 +00:00
Chris Hegarty
9cf7c0352d 6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode
Reviewed-by: alanb
2010-03-11 17:37:33 +00:00
Chris Hegarty
ae14beadd3 6934054: java/net/Socket/FDClose.java return error in samevm
Test is no longer useful

Reviewed-by: alanb
2010-03-11 16:17:57 +00:00
Sergey Malenkov
a55a44a6e2 6707226: java.beans.Statement & java.beans.Expression miss one important usecase
Reviewed-by: rupashka
2010-03-11 17:39:33 +03:00
Chris Hegarty
77c61b9819 6933618: java/net/MulticastSocket/NoLoopbackPackets.java fails when rerun
Reviewed-by: alanb
2010-03-10 14:44:53 +00:00
Lana Steuck
55ca6aeb17 Merge 2010-03-09 15:29:13 -08:00
Lana Steuck
4a25f3ef9c Merge 2010-03-09 15:28:09 -08:00
Lana Steuck
6df5f2e72d Merge 2010-03-09 15:26:32 -08:00
Yumin Qi
9e32d0d9d1 6918065: Crash in Java2D blit loop (IntArgbToIntArgbPreSrcOverMaskBlit) in 64bit mode
Reviewed-by: igor, bae
2010-03-08 11:35:30 -08:00
Denis Fokin
ec862c8b43 6932659: JTreg test files were missed in push of 6887703
Reviewed-by: uta
2010-03-06 03:37:53 +03:00
Lana Steuck
954fd4b4d9 Merge 2010-03-04 13:40:03 -08:00
Lana Steuck
35bf330316 Merge 2010-03-04 13:07:48 -08:00
Sergey Malenkov
b3a9b5dca9 6921644: XMLEncoder generates invalid XML
Reviewed-by: peterz
2010-03-04 21:17:03 +03:00
Alan Bateman
140ed0124d 6931216: TEST_BUG: test/java/nio/file/WatchService/LotsOfEvents.java failed with NPE
Reviewed-by: chegar
2010-03-03 16:09:36 +00:00
Lana Steuck
438e92ebe0 Merge 2010-03-01 18:30:05 -08:00
Vinnie Ryan
d996cb8440 Merge 2010-03-01 18:00:47 +00:00
Vinnie Ryan
0f70e6a821 6921001: api/java_security/IdentityScope/IdentityScopeTests.html#getSystemScope fails starting from b78 JDK7
Reviewed-by: mullan
2010-03-01 17:54:31 +00:00
Sebastian Sickelmann
c9776d3175 6929532: (file) WatchService should avoid queuing new modify events when lots of files are changing
Reviewed-by: alanb
2010-02-27 18:18:33 +00:00
Alan Bateman
bdfb60de8c 6926800: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with newer versions of find(1)
Reviewed-by: forax
2010-02-23 18:21:31 +00:00
Lana Steuck
3762906a4c Merge 2010-02-23 10:17:16 -08:00
Alan Bateman
4623333de0 6925932: (file) Path.endsWith can throw ArrayIndexOutOfBoundsException (unx)
Reviewed-by: chegar
2010-02-23 17:58:30 +00:00
Alan Bateman
4337f1df36 6925977: (file) test/java/nio/file/Path/CheckPermissions.java fails if test.src on read-only file system
Reviewed-by: chegar
2010-02-23 17:56:55 +00:00
Damjan Jovanovic
6e3ed53d0a 6912868: "java.net.useSystemProxies" behavior fails to check "use_same_proxy" in GNOME
Reviewed-by: alanb, chegar
2010-02-22 15:27:11 +00:00
Lana Steuck
8fe58d00ab Merge 2010-02-19 15:13:37 -08:00
Sergey Malenkov
424fef5437 4498236: RFE: Provide a toString method for PropertyChangeEvent and other classes
Reviewed-by: peterz
2010-02-18 17:46:40 +03:00
Lana Steuck
642193f708 Merge 2010-02-17 10:24:30 -08:00