934 Commits

Author SHA1 Message Date
Mike Duigou
deb8d5a4ff 5045147: Prevent insertion of null Key into empty TreeMap (and null element into TreeSet) when no Comparator is used. Prevent insertion of key of incorrect type into empty TreeMap and incorrect type element into TreeSet and incorrect type when Comparator is used
Reviewed-by: alanb, dl, mduigou
2011-03-17 14:42:40 -07:00
David Holmes
117062efaa Merge 2011-03-15 20:00:45 -04:00
Alan Bateman
4b0829340e 7026376: (dc) DatagramChannel created without specifying protocol family fails to join IPv4 group
Reviewed-by: chegar
2011-03-15 13:15:31 +00:00
Neil Richards
b96d0e610a 7014637: Improve behavior of EnumSet Iterator.remove()
Reviewed-by: mduigou, alanb
2011-03-14 14:49:52 -07:00
Naoto Sato
d7b9fcfbd4 7023613: (lc) Incorrect string returned by Locale.toString() with non-empty script field
Reviewed-by: srl
2011-03-11 11:31:10 -08:00
Chris Hegarty
b6f518d3c1 7023363: URI("ftp", "[www.abc.com]", "/dir1/dir2", "query", "frag") should throw URISyntaxException
Reviewed-by: alanb, michaelm
2011-03-11 13:50:09 +00:00
Charles Lee
15ddaff2ab 7026346: URLConnection.guessContentTypeFromStream does not support UTF-8 and UTF-32 xml streams with BOM
Reviewed-by: alanb
2011-03-11 08:57:14 +00:00
Lana Steuck
d67aed550b Merge 2011-03-10 19:38:44 -08:00
Alan Bateman
a36a5ce599 7025468: Tests using diamond with anonymous inner classes needs to be reverted
Reviewed-by: dholmes, forax
2011-03-08 10:32:18 +00:00
Lana Steuck
8b14c7551d Merge 2011-03-07 14:48:27 -08:00
Lana Steuck
5f0efd5e7c Merge 2011-03-07 11:36:37 -08:00
Lana Steuck
1b471215b4 Merge 2011-03-05 20:54:53 -08:00
Alan Bateman
d048451ca2 7023403: (ch) sun.nio.ch.SolarisEventPort.startPoll failed with AssertionError
Reviewed-by: forax
2011-03-04 21:26:50 +00:00
Chris Hegarty
23ff61a1ff 6721694: java/lang/Thread/StartOOMTest.java fails with timeout or with crash
The test is not suitable to be run automatically

Reviewed-by: alanb
2011-03-03 16:48:53 +00:00
Michael McMahon
340701d021 7018606: (process) test/java/lang/ProcessBuilder/Basic.java failing intermittently (win)
Reviewed-by: alanb
2011-03-03 15:34:09 +00:00
Stuart Marks
90194bc501 7022624: use try-with-resources in java.io tests
Reviewed-by: alanb
2011-03-01 15:05:32 -08:00
Lana Steuck
49f555c5b5 Merge 2011-03-01 14:04:59 -08:00
Alan Bateman
c4da54f7a9 7023034: Files.createTempDirectory((Path)null, "temp") does not throw NPE
Reviewed-by: forax
2011-03-01 12:03:44 +00:00
Weijun Wang
314c75c742 7020531: test: java/security/cert/CertificateFactory/openssl/OpenSSLCert.java file not closed after run
Reviewed-by: alanb, smarks
2011-03-01 16:22:22 +08:00
Erik Trimble
41fcd26eb6 Merge 2011-02-25 12:48:18 -08:00
Stuart Marks
cea2f39843 7021582: convert jar/zip code and tests to use try-with-resources
Reviewed-by: alanb, dholmes, sherman
2011-02-25 02:06:10 -08:00
Chris Hegarty
9607630405 7020136: java/net/URLConnection/RedirectLimit.java fails intermittently
Increase the socket timeout and clean up the test

Reviewed-by: alanb
2011-02-24 12:57:59 +00:00
Masayoshi Okutsu
2b3aef04c3 6772689: java.sql.Date.valueOf("2042-10-xx").toString() wrong in some time zones
Reviewed-by: peytoia
2011-02-24 16:29:42 +09:00
Lana Steuck
d686419127 Merge 2011-02-23 10:29:15 -08:00
Masayoshi Okutsu
66ca7600c4 6623219: Font.canDisplayUpTo does not work with supplementary characters
Reviewed-by: prr, peytoia
2011-02-23 14:09:23 +09:00
Stuart Marks
dd0e38d73a 7021209: convert lang, math, util to use try-with-resources
Reviewed-by: alanb, darcy, naoto
2011-02-22 15:34:17 -08:00
Alan Bateman
4c2006a780 7021327: Changes for 7020888 included changes to other files in error
Reviewed-by: chegar
2011-02-22 14:28:13 +00:00
Alan Bateman
17cace4c58 7020888: (file) Miscellaneous and trivial clean-ups (typos and opportunities to use suppressed exceptions)
Reviewed-by: mduigou, chegar
2011-02-22 12:04:48 +00:00
Alan Bateman
7966b53750 Merge 2011-02-22 10:19:35 +00:00
Mike Duigou
7ddd950b1d 7019705: Add -XX:+AggressiveOpts options to MOAT test
Reviewed-by: alanb
2011-02-21 14:53:11 -08:00
Lana Steuck
9e058711b1 Merge 2011-02-21 14:33:58 -08:00
Lana Steuck
12134b9ba9 Merge 2011-02-21 14:31:07 -08:00
Lana Steuck
3bbc62d525 Merge 2011-02-21 14:22:08 -08:00
Alan Bateman
8e29241702 7020517: (fs) FileStore.equals returns true if both volumes have the same serial number
Reviewed-by: chegar
2011-02-21 13:54:13 +00:00
Jennifer Godinez
dd383efe04 Merge 2011-02-18 12:04:36 -08:00
Phil Race
7b9e1ea0d5 7017637: closed/java/awt/font/StyledMetrics/BoldSpace.java failed : Space char should have 0 advance
Reviewed-by: igor, jgodinez
2011-02-18 09:18:32 -08:00
Alan Bateman
d1cf52c16a Merge 2011-02-17 20:53:26 +00:00
Alan Bateman
9aa277a541 6526860: (fc) FileChannel.position returns 0 when FileOutputStream opened in append mode
Reviewed-by: forax
2011-02-17 20:50:22 +00:00
Chris Hegarty
e5d4746fb4 7017901: OOME in java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
Unbounded queues should be disabled in the test

Reviewed-by: alanb
2011-02-17 09:56:38 +00:00
Chris Hegarty
560ab81595 6562203: Thread doesn't terminate immediately if it was stopped before start
Reviewed-by: dholmes, alanb
2011-02-16 12:38:13 +00:00
Masayoshi Okutsu
0bfde7d243 6936350: API clarification needed on useDaylightTime() for timezones that have defined usage dates
Reviewed-by: peytoia
2011-02-16 16:51:21 +09:00
John R Rose
53a35e23ee 7016261: JSR 292 MethodType objects should be serializable
Define private writeObject, readObject, and readResolve methods.  Also add unit tests.

Reviewed-by: twisti
2011-02-15 00:16:50 -08:00
Neil Richards
32b8c54ea3 6927486: Hashtable writeObject() may deadlock
Do not synchronize on self while writing hash table elements

Reviewed-by: alanb, mduigou
2011-02-14 11:00:02 -08:00
Mike Duigou
21d721f9ff Merge 2011-02-14 10:48:46 -08:00
Neil Richards
709cabc2f1 6934356: Vector.writeObject() serialization may deadlock
No longer synchronize on self while writing other objects.

Reviewed-by: alanb, forax, mduigou, peterjones
2011-02-14 10:38:51 -08:00
Alan Bateman
14997b102e 7016704: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with new version of find (lnx)
Reviewed-by: forax
2011-02-14 18:30:53 +00:00
Lana Steuck
3eb4164d84 Merge 2011-02-11 12:14:38 -08:00
John R Rose
f485ab561e 7013730: JSR 292 reflective operations should report errors with standard exception types
Remove NoAccessException, replace it by ReflectiveOperationException subtypes; adjust javadoc of exceptions

Reviewed-by: twisti
2011-02-11 01:26:32 -08:00
John R Rose
54e473f9f8 7012650: implement JSR 292 EG adjustments through January 2010
Misc. EG changes and polishes (excluding 7013417)

Reviewed-by: twisti
2011-02-11 01:26:28 -08:00
John R Rose
eedbedae93 7013417: JSR 292 needs to support variadic method handle calls
Implement MH.asVarargsCollector, etc., and remove withTypeHandler.

Reviewed-by: twisti
2011-02-11 01:26:24 -08:00