Commit Graph

682 Commits

Author SHA1 Message Date
Lana Steuck
2eabbe8ed9 Merge 2010-01-28 16:12:06 -08:00
Xueming Shen
b09ac3b7e8 6920732: opensource test/java/nio/charset
Move the test cases to openjdk

Reviewed-by: martin
2010-01-27 19:39:55 -08:00
Pavel Tisnovsky
0c8c19d629 6920143: test/java/awt/TestArea/UsingWithMouse.java needs realSync()
Added small delay to make sure that TextArea animation have finished

Reviewed-by: anthony
2010-01-27 17:47:53 +01:00
Chris Hegarty
1891bb8f68 6707289: InterfaceAddress.getNetworkPrefixLength() does not conform to Javadoc
Reviewed-by: michaelm
2010-01-25 15:41:37 +00:00
Pavel Tisnovsky
f57059f5b4 6917663: test/java/security/Provider/Turkish.java not samevm friendly
Added othervm flag to ensure that this test will run in isolation.

Reviewed-by: alanb
2010-01-18 17:53:26 +01:00
Alan Bateman
01c326e0da 6917021: (file) copyTo/moveTo can overrwrite existing file when target associated with custom provider
Reviewed-by: chegar
2010-01-18 15:21:34 +00:00
Lana Steuck
a5325ffb94 Merge 2010-01-15 15:36:54 -08:00
John Coomes
cbfd52c649 Merge 2010-01-13 15:16:06 -08:00
Alan Bateman
30d2fd5f41 6913877: (fs) AsynchronousFileChannel.write can return wrong result under load [win]
Reviewed-by: chegar
2010-01-10 12:29:19 +00:00
Alan Bateman
46d57b48e4 6907760: (file) OVERFLOW event should cause pending events to be purged
Reviewed-by: chegar
2010-01-09 19:32:58 +00:00
Andrew John Hughes
74452cc018 6584033: (tz) wrong buffer length in TimeZone_md.c
Add testcase for this bug

Reviewed-by: darcy, okutsu
2010-01-08 12:51:15 +00:00
John R Rose
020e5501fd 6914665: update jdk code for JSR 292 (post 6858164)
Fill in missing API implementations, fix numerous bugs, adjust APIs towards EG design.

Reviewed-by: twisti
2010-01-07 16:16:45 -08:00
John R Rose
20b837a9e4 Merge 2010-01-06 16:50:51 -08:00
Kelly O'Hair
c49eb02208 6911108: These tests do not work with CYGWIN: java/util
Reviewed-by: tbell, alanb
2010-01-04 15:52:38 -08:00
Kelly O'Hair
2e5624299a 6911129: These tests do not work with CYGWIN: java/lang
Reviewed-by: tbell, alanb
2010-01-04 15:49:34 -08:00
Kelly O'Hair
a59db62f07 6911113: These tests do not work with CYGWIN: java/nio
Reviewed-by: tbell, alanb
2010-01-04 15:36:06 -08:00
Kelly O'Hair
4ae2047584 6910835: TESTS: 3 java/io run.sh tests fail when run on Windows XP CYGWIN
Reviewed-by: tbell, alanb
2010-01-04 15:33:19 -08:00
Kelly O'Hair
23ac573ae7 6910834: TEST: java/io/File/Basic.java fails on Windows CYGWIN environment
Reviewed-by: tbell, alanb
2010-01-04 15:30:26 -08:00
Alexey Utkin
fa9fcae42b 4874070: invoking DragSource's startDrag with an Image renders no image on drag
Reviewed-by: art, denis, alexp
2009-12-24 17:19:09 +03:00
Doug Lea
dc8d9d049e 6908348: java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java get OOME for unbounded queues
Reviewed-by: martin, dholmes
2009-12-23 15:57:14 -08:00
Pavel Tisnovsky
9e74b05b9c 6912628: test/java/util/jar/JarFile/TurkCert.java cannot be run in samevm mode
Added tag to run this test in othervm

Reviewed-by: chegar
2009-12-23 11:18:58 +01:00
Joe Darcy
b4b4646850 6908541: Bad resource management in java/math/BigInteger/BigIntegerTest.java
Reviewed-by: alanb
2009-12-22 21:48:19 -08:00
Sergey Malenkov
6fa1d77169 6904691: Java Applet Trusted Methods Chaining Privilege Escalation Vulnerability
Reviewed-by: hawtin, peterz
2009-12-22 17:56:58 +03:00
Tim Bell
4797193455 Merge 2009-12-19 10:26:19 -08:00
Lana Steuck
060c593078 Merge 2009-12-16 16:25:08 -08:00
Lana Steuck
6d6ed99403 Merge 2009-12-16 00:09:57 -08:00
Joe Darcy
37a980650b 6908131: Pure Java implementations of StrictMath.floor(double) & StrictMath.ceil(double)
Reviewed-by: alanb
2009-12-15 13:51:44 -08:00
Yuka Kamiya
5deb15889c 5047314: [Col] Collator.compare() runs indefinitely for a certain set of Thai strings
Reviewed-by: okutsu
2009-12-15 14:50:01 +09:00
Lana Steuck
ac644fa9f8 Merge 2009-12-10 09:50:09 -08:00
Lana Steuck
e4beee76a3 Merge 2009-12-10 09:46:13 -08:00
Jesse Wilson
1c4f3aa56b 6903754: (bf) Improve floating-point buffer comparison
Describe the exact behavior of {Double,Float}Buffer.{equals,compareTo}; fix non-anti-symmetric behavior of compareTo

Reviewed-by: alanb
2009-12-08 12:41:01 -08:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Lana Steuck
7dc92db304 Merge 2009-12-02 16:18:20 -08:00
Anton Tarasov
b0a13700e1 6566375: PIT : test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html
Reviewed-by: art, dcherepanov
2009-12-02 17:26:23 +03:00
Kelly O'Hair
759c63a953 Merge 2009-12-01 08:54:10 -08:00
Phil Race
2bea841cbe 6904962: GlyphVector.getVisualBounds should not be affected by leading or trailing white space
Reviewed-by: igor, dougfelt
2009-11-30 14:39:35 -08:00
Kelly O'Hair
cd8f275bdb 6903197: Some java template files need to be renamed to .java.template
Reviewed-by: alanb
2009-11-30 14:15:15 -08:00
Sergey Malenkov
b6b042bf8f 6905516: Test failed: java/beans/EventHandler/Test6788531.java
Reviewed-by: peterz
2009-11-30 18:30:50 +03:00
Sergey Malenkov
b7292e2cf4 6905515: Test failed: java/beans/XMLEncoder/6329581/Test6329581.java
Reviewed-by: peterz
2009-11-30 18:26:52 +03:00
Anthony Petrov
d7b200bf35 6402325: Swing toolbars vs native toolbars on Windows
Introduce support for different window types: NORMAL, UTILITY, POPUP

Reviewed-by: art, dcherepanov
2009-11-27 16:07:32 +03:00
Artem Ananiev
a6dd224efd 4913324: Deadlock when using two event queues
Reviewed-by: anthony, ant, dcherepanov
2009-11-27 15:26:07 +03:00
Sergey Malenkov
69190da5ef 5102804: Memory leak in Introspector.getBeanInfo(Class) for custom BeanInfo: Class param
Reviewed-by: peterz
2009-11-27 15:24:43 +03:00
Lana Steuck
3336503bbb Merge 2009-11-25 22:14:30 -08:00
Damjan Jovanovic
f2e3043d12 4899516: Transferable has no DataFlavors when dragging from Gnome window to Swing
Reviewed-by: uta, dav
2009-11-25 21:27:06 +03:00
Lana Steuck
314207e7f5 Merge 2009-11-24 18:12:46 -08:00
Denis Fokin
812677f720 5098433: REG: DnD of File-List between JVM is broken for non ASCII file names - Win32
Reviewed-by: uta, dav
2009-11-24 18:46:17 +03:00
Tim Bell
9150551f00 Merge 2009-11-29 15:24:32 -08:00
Jean-Christophe Collet
4da1e67db3 6901170: HttpCookie parsing of version and max-age mis-handled
Accept single quotes in cookies and better exception handling in CookieManager

Reviewed-by: chegar
2009-11-20 14:50:55 +01:00
Lana Steuck
a23c7f2fe8 Merge 2009-11-18 18:56:59 -08:00
Lana Steuck
228f3f7726 Merge 2009-11-18 17:17:56 -08:00
Yuka Kamiya
274e8c83b2 6842557: NumericShaper needs to be updated for Unicode 5.1 support
6843181: NumericShaper is not thread-safe
6900137: Typo in API Doc for NumericShaper

Reviewed-by: okutsu
2009-11-12 18:59:19 +09:00
Alan Bateman
186882959d 6900234: Several NIO tests should be removed from test/ProblemList.txt
Reviewed-by: chegar
2009-11-11 16:22:27 +00:00
Dmitry Cherepanov
1fbf705739 6852111: Unhandled 'spurious wakeup' in java.awt.EventQueue.invokeAndWait()
Introduced InvocationEvent.isDispatched method

Reviewed-by: art, anthony
2009-11-11 17:46:58 +03:00
Vladimir Yaroslavskiy
0d83336729 6899694: Dual-pivot quicksort improvements
Co-authored-by: Joshua Bloch <joshua.bloch@google.com>
Reviewed-by: jjb
2009-11-11 14:38:01 +00:00
Alan Bateman
aac491b420 6898234: (dc) Multicast tests fail on OpenSolaris with vboxnet0 adapter
Reviewed-by: chegar
2009-11-10 10:51:31 +00:00
Abhijit Saha
b7a372efca Merge 2009-11-06 21:32:35 -08:00
Tim Bell
44accdb4b7 Merge 2009-11-06 17:27:41 -08:00
Abhijit Saha
31d05a3363 Merge 2009-11-06 16:07:52 -08:00
Martin Buchholz
450da8a061 6897553: LinkedList performance improvements
LinkedList of size N creates N+1 instead of N+2 objects.  Comparing against null is faster than comparing against sentinel node

Reviewed-by: dl, jjb, forax
2009-11-05 16:12:45 -08:00
Igor Chernyshev
fb6b9445d7 6897993: (se) Close or cancel performance issue when number of pending updates is high (lnx)
Use O(1) Iterator instead of O(N) operations on LinkedList updateList

Reviewed-by: alanb
2009-11-04 15:22:30 -08:00
Tim Bell
b20e230f81 Merge 2009-11-02 22:23:50 -08:00
Doug Lea
ef2dd097cc 6865582: jsr166y - jsr166 maintenance update
6865571: Add a lightweight task framework known as ForkJoin
6445158: Phaser - an improved CyclicBarrier
6865579: Add TransferQueue/LinkedTransferQueue

Reviewed-by: martin, chegar, dice
2009-11-02 17:25:38 -08:00
Abhijit Saha
91ce5d885d Merge 2009-11-02 13:59:37 -08:00
Xueming Shen
d9eeb64ea6 6894950: test/java/util/zip/Bounds.java fails with OoutOfMemoryError
Fixed the boundary check in Deflater.java

Reviewed-by: alanb
2009-10-30 13:01:16 -07:00
Vladimir Yaroslavskiy
b36e33e9e0 6896573: Arrays.sort(long[]) fails with StackOverflowError
Reviewed-by: jjb
2009-10-30 15:06:24 +00:00
Abhijit Saha
0456a42631 Merge 2009-10-30 07:58:03 -07:00
Mandy Chung
37ce341049 6896422: Add @ignore to test/java/util/zip/Bounds.java
Ignore test/java/util/zip/Bounds.java until 6896424 is resolved

Reviewed-by: sherman
2009-10-29 09:22:00 -07:00
Kelly O'Hair
b389d6968a Merge 2009-10-28 16:54:50 -07:00
Kelly O'Hair
4f260ef889 6888701: Change all template java source files to a .java-template file suffix
Reviewed-by: jjg, alanb, mr
2009-10-28 12:54:37 -07:00
Mandy Chung
f66cba870b 6876135: Add PlatformLoggingMXBean to eliminate the dependency on JMX from logging
Added a new PlatformLoggingMXBean interface to extend PlatformManagedObject instead of LoggingMXBean

Reviewed-by: alanb
2009-10-27 16:32:23 -07:00
Abhijit Saha
b1d56df134 Merge 2009-10-26 10:06:53 -07:00
Joe Darcy
0452077b9a 6891113: More methods for java.util.Objects: deepEquals, hash, toString with default
Reviewed-by: alanb, gafter
2009-10-23 11:18:17 -07:00
Abhijit Saha
8de5fe44f3 Merge 2009-10-22 16:28:01 -07:00
John R Rose
c4f814598e 6891770: JSR 292 API needs initial unit tests
Backport working mlvm regression test to M3 implementation of JSR 292; requires jtreg 4.1

Reviewed-by: twisti
2009-10-21 23:19:48 -07:00
Xueming Shen
99bec3696c Merge 2009-10-21 11:52:04 -07:00
Xueming Shen
30e3c9dc22 4206909: want java.util.zip to work for interactive use (Z_SYNC_FLUSH)
Add sync_flush option into Deflater/DefalterOutputStream

Reviewed-by: martin, alanb
2009-10-21 11:50:25 -07:00
Xueming Shen
e5745ffc8c 6878475: Better syntax for the named capture group in regex
Updated the syntax of the newly added named capture group

Reviewed-by: martin, alanb
2009-10-21 11:40:40 -07:00
Abhijit Saha
fcbc383092 Merge 2009-10-21 11:34:19 -07:00
Abhijit Saha
cf5d27bd7c Merge 2009-10-21 11:28:46 -07:00
Anthony Petrov
b50342c24e 6852592: invalidate() must be smarter
Introduce validate roots in AWT

Reviewed-by: alexp, art, dcherepanov
2009-10-21 17:06:41 +04:00
Jean-Christophe Collet
48792ee40c 6873543: CookieManager doesn't enforce httpOnly
Adds check for httpOnly tag and clarifies javadoc

Reviewed-by: chegar
2009-10-21 13:42:39 +02:00
Joe Darcy
589f5d20cb 6371401: java.math.BigInteger.shift(Integer.MIN_VALUE) throws StackOverflowError
Reviewed-by: alanb
2009-10-20 09:51:28 -07:00
Joshua Bloch
c225292004 6889858: Add nonNull methods to java.util.Objects
Reviewed-by: darcy
2009-10-19 16:31:48 -07:00
Alan Bateman
b712d23c2f 6879463: (file) DirectoryStream#iterator's remove method throws wrong exception when stream is closed
Reviewed-by: sherman
2009-10-19 20:01:45 +01:00
Alan Bateman
1ff76e3938 6892711: (file) test/java/nio/file/Path/CopyAndMove.java fails on Windows 2000
Reviewed-by: ohair
2009-10-19 19:59:22 +01:00
Alan Bateman
6e476efa4a 6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode
Reviewed-by: ohair
2009-10-19 19:58:38 +01:00
Abhijit Saha
7f00e1bf5e Merge 2009-10-16 11:20:38 -07:00
Tim Bell
c71af49e2b Merge 2009-10-15 22:47:56 -07:00
Andrew Haley
793ab85271 4428022: System.out.println(0.001) outputs 0.0010
Reviewed-by: darcy
2009-10-15 18:27:39 -07:00
Abhijit Saha
a4074cd2c5 Merge 2009-10-15 14:41:51 -07:00
Alan Bateman
d7441d8772 6891404: (fs) ACL tests fail with "Invalid argument" on ZFS (sol)
Reviewed-by: sherman
2009-10-15 11:55:19 +01:00
Mandy Chung
6f42b7b834 6891701: test/java/lang/management/RuntimeMXBean/GetSystemProperties should restore the system property
Restore the system properties when the test finishes

Reviewed-by: jjg
2009-10-14 20:16:02 -07:00
Abhijit Saha
02d2cc35f6 Merge 2009-10-14 14:21:25 -07:00
Joe Darcy
8b993775d5 6648344: (reflect spec) State default of isAccessible for reflective objects
Reviewed-by: alanb
2009-10-13 14:08:57 -07:00
Joe Darcy
eca779ecad 6797535: Add shared two argument static equals method to the platform
Reviewed-by: sherman
2009-10-09 16:11:11 -07:00
Tim Bell
022d2f3730 Merge 2009-10-07 14:15:01 -07:00
Chris Hegarty
67bff2db55 6887364: SetOutgoingIf.java fails if run on multihomed machine without PIv6 on all interfaces
Reviewed-by: alanb
2009-10-07 17:23:02 +01:00
Abhijit Saha
c6c70af568 Merge 2009-10-06 21:40:55 -07:00
Alan Bateman
936d0362c2 6884800: (file) Path.newInputStream does not usefully implement available()
Reviewed-by: martin, chegar
2009-10-04 15:42:00 +01:00
Michael McMahon
45d2886ea7 6870935: DIGEST proxy authentication fails to connect to URLs with no trailing slash
Reviewed-by: chegar
2009-10-02 13:57:41 +01:00
Michael McMahon
bf7ffbe0c0 Merge 2009-10-01 11:25:22 +01:00
Pavel Tisnovsky
3bb6edd167 6884837: JTReg test SetOutgoingIf is not correct
Added check of network interfaces status

Reviewed-by: alanb, chegar
2009-09-30 11:49:10 +02:00
Steven Loomis
72f355d0cf 6886718: missing license info
Reviewed-by: igor, prr
2009-09-29 16:32:47 -07:00
Jennifer Godinez
6103978814 Merge 2009-09-29 09:02:00 -07:00
Michael McMahon
ef945f9722 6886108: Test case B4933582 binding to fixed port number
Reviewed-by: chegar
2009-09-29 10:00:57 +01:00
Steven Loomis
13748aa22b 6795060: VM crash on Linux in ICU layout library when processing \u0DDD (Sinhalese)
Reviewed-by: igor, prr
2009-09-28 11:52:22 -07:00
Kevin Bourrillion
beaa8fd82d 6582946: Add suite of compare(T, T) methods for ints, longs etc
Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Martin Buchholz
4e63c9bc06 4245470: algorithm of java.lang.Byte.hashCode() is not specified
Specify some hashCode methods are equivalent to intValue

Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Jennifer Godinez
7ba506e726 Merge 2009-09-16 19:36:05 -07:00
Yuri Nesterenko
5d7bb00c89 Merge 2009-09-15 23:41:40 -07:00
Jean-Christophe Collet
19396438bb 6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
Move default nonProxyHosts from hardcoded to property default value

Reviewed-by: chegar
2009-09-18 10:51:44 +02:00
Tim Bell
b43c00d17d Merge 2009-09-16 09:23:50 -07:00
Alan Bateman
8543d84e30 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
Reviewed-by: chegar
2009-09-14 17:47:26 +01:00
Andrew Brygin
c26aec2e52 6822057: X11 and Win32GraphicsDevice don't clone arrays returned from getConfigurations()
Reviewed-by: prr, hawtin
2009-09-10 13:52:27 +04:00
Yuri Nesterenko
926d6d625a Merge 2009-09-09 00:51:06 -07:00
Martin Buchholz
f22c848304 6850958: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Test hotspot/jvmti fix 6850957 using ProcessBuilder test infrastructure

Reviewed-by: tbell, dholmes, alanb, ysr
2009-09-08 14:33:59 -07:00
Alan Bateman
575542b7a4 Merge 2009-09-05 15:57:25 +01:00
Abhijit Saha
5456677e02 Merge 2009-09-05 07:55:05 -07:00
Joe Darcy
f8db2dee43 6873951: test/java/lang/reflect/Generics/Probe.java fails
Reviewed-by: alanb
2009-09-04 13:11:17 -07:00
Alan Bateman
98e07b99bf 6873621: (file) FileStore.supportsFileAttributeView(Class<FileAttributeView> type) returns wrong result
Reviewed-by: andrew
2009-09-04 18:15:50 +01:00
Abhijit Saha
8ea9f6a2dc Merge 2009-08-31 08:54:39 -07:00
Yuka Kamiya
be422eef48 6851214: (tz) New Jordan rule creates a failure for SimpleTimeZone parsing post tzdata2009h
Reviewed-by: okutsu
2009-08-31 12:55:15 +09:00
Tim Bell
2c7126577e Merge 2009-08-28 16:53:44 -07:00
Xiaobin Lu
4b58ee1a37 6876282: BigDecimal's divide(BigDecimal bd, RoundingFormat r) produces incorrect result
Reviewed-by: darcy
2009-08-27 18:00:16 -07:00
Abhijit Saha
9a9bb90a70 Merge 2009-08-26 08:38:57 -07:00
Doug Lea
28c28df142 6868712: Improve concurrent queue tests
Fix all known flaky tests, plus minor maintenance

Reviewed-by: martin, chegar
2009-08-25 19:19:42 -07:00
Tim Bell
7e71cce8a2 Merge 2009-08-24 22:27:30 -07:00
Alan Bateman
aecf7417ad 6842687: New I/O: Update Asynchronous I/O API to jsr203/nio2-b101
Reviewed-by: sherman
2009-08-23 12:53:45 +01:00
Valerie Peng
fb19c4e1f9 6874407: Missing regression test for 6636650
Prevent classloader from resurrection

Reviewed-by: hawtin
2009-08-20 17:16:13 -07:00
Alan Bateman
b458f8ca65 6866804: (file) Path calls checkPermission insteadof checkXXX (sol)
Reviewed-by: sherman
2009-08-20 08:48:29 +01:00
Alan Bateman
41a783f149 6595866: File does work with symbolic links (win,vista)
Reviewed-by: sherman
2009-08-20 08:39:18 +01:00
Yuri Nesterenko
4c2a46386f Merge 2009-08-18 23:40:15 -07:00
Xueming Shen
94d23c375f 6866397: (file) PathMatcher with regex syntax doesn't match as expected (win)
Use unicode_case_insensitive for windows path matcher for now.

Reviewed-by: alanb
2009-08-14 11:23:01 -07:00
Xueming Shen
fcfe031b58 6676423: (prefs) Opensource unit/regression tests for java.util.prefs
Moved the existing test cases for prefs to open area

Reviewed-by: martin, alanb
2009-08-13 15:01:18 -07:00
Xueming Shen
dfa68f9504 6840246: Lightweight implementation of String.split for simple use case
Added a fastpath for simple use case

Reviewed-by: alanb, martin
2009-08-13 10:50:23 -07:00
Alan Bateman
a3af9140c9 6865748: (file) SimpleFileVisitor methods ignore null arguments
Reviewed-by: sherman
2009-08-11 12:49:16 +01:00
Alan Bateman
90b1aee142 4516760: (so) Intermittent SocketException: Transport endpoint is not connected (lnx)
Reviewed-by: sherman
2009-08-11 12:37:02 +01:00
Sergey Malenkov
24fdb8e4be 6868189: Nested enum class with custom BeanInfo fails
Reviewed-by: peterz
2009-08-07 19:06:56 +04:00
Abhijit Saha
7ebb690ec3 Merge 2009-08-06 22:37:58 -07:00
Tim Bell
f98b97ffea Merge 2009-08-06 19:01:59 -07:00
Bradford Wetmore
fc188b8b29 6867657: Many JSN tests do not run under cygwin
Reviewed-by: ohair
2009-08-06 17:56:59 -07:00
Yuri Nesterenko
bc02d891d1 Merge 2009-08-05 00:07:48 -07:00
Abhijit Saha
8c4325e8f4 Merge 2009-08-04 08:01:03 -07:00
Tim Bell
6b6386f999 Merge 2009-07-31 17:19:38 -07:00
Alan Bateman
6538a1bcf9 6867244: Tests missing @run tag
Reviewed-by: sherman
2009-07-31 08:45:30 +01:00
Alan Bateman
08f07d0f8a 6867101: Path.checkAccess fails with sharing violation on special files such as pagefile.sys
Reviewed-by: sherman
2009-07-31 08:44:28 +01:00
Tim Bell
35107a8833 Merge 2009-07-30 23:40:15 -07:00
Jennifer Godinez
430c84f1ea Merge 2009-07-30 12:25:39 -07:00
Josh Bloch
827200b265 6804124: Replace "modified mergesort" in java.util.Arrays.sort with timsort
Easy port of timsort from android

Reviewed-by: martin
2009-07-29 14:24:19 -07:00
Xueming Shen
ba2db6a2db Merge 2009-07-29 11:19:14 -07:00
Yuri Nesterenko
a65646a1fb Merge 2009-07-29 00:12:45 -07:00
Doug Lea
d43e798981 6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Faster, more correct. Use self-linking trick to avoid gc retention

Reviewed-by: martin, dholmes
2009-07-28 17:17:55 -07:00
Doug Lea
df5da31f55 6785442: ConcurrentLinkedQueue.remove() and poll() can both remove the same element
6493942: ConcurrentLinkedQueue.remove sometimes very slow

New algorithm for handling concurrent linked lists

Reviewed-by: martin
2009-07-28 13:24:52 -07:00
Xiomara Jayasena
e0c1d51604 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:54 -07:00
Yuri Nesterenko
f169709382 Merge 2009-07-27 23:42:52 -07:00
Tim Bell
9d2c02479e Merge 2009-07-27 23:06:01 -07:00
Abhijit Saha
0e8d2a916a Merge 2009-07-27 22:28:29 -07:00
Alan Bateman
86a40825c7 6863667: (ch) Several tests in java/nio/channels/* need to be updated after 6638712
Reviewed-by: mcimadamore
2009-07-27 18:46:50 +01:00
Alan Bateman
22fac524b1 6863864: (fs) Path.createSymbolicLink doesn't set directory flag when creating sym link to directory (win)
Reviewed-by: sherman
2009-07-27 18:44:42 +01:00
Xueming Shen
e9b3362ace 5063507: (fmt) missing exception for "%#s" format specifier
Throw appropriate exception when necessary

Reviewed-by: alanb
2009-07-24 11:06:57 -07:00
Anthony Petrov
8440a8dba3 6848424: java/awt/Frame/FrameSize/TestFrameSize.java needs improvement
The test now thoroughly verifies the pack() method

Reviewed-by: art, dcherepanov
2009-07-23 13:46:23 +04:00
Yuri Nesterenko
cacd580a84 Merge 2009-07-21 23:23:57 -07:00
Abhijit Saha
a5da46de60 Merge 2009-07-21 13:02:23 -07:00
Artem Ananiev
e5047864cd 6844297: java/awt/EventQueue/6638195/bug6638195.java test failed in jdk7 on Windows just on b59,passed on b57
Reviewed-by: bchristi, dcherepanov
2009-07-17 15:40:19 +04:00
Yuri Nesterenko
1b9d35c409 Merge 2009-07-14 22:15:22 -07:00
Tim Bell
a2d17d381e Merge 2009-07-13 23:58:49 -07:00
Yuri Nesterenko
08c5418a0b Merge 2009-07-13 09:37:50 -07:00
Abhijit Saha
46899d3487 Merge 2009-07-13 08:05:13 -07:00
Yuri Nesterenko
d116d7aa47 Merge 2009-07-12 23:20:26 -07:00
Yuri Nesterenko
162e4376fc Merge 2009-07-12 06:07:50 -07:00
Xue-Lei Andrew Fan
5ba2fd7d33 6852744: PIT b61: PKI test suite fails because self signed certificates are beingrejected
Make the builder aware of SKID/AKID, break the internal circular dependences

Reviewed-by: mullan
2009-07-10 17:27:13 +08:00
Qi Zuo
8a897fd954 Merge 2009-07-09 13:53:05 -04:00
Dmitry Cherepanov
0059357677 6847149: test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java fails
Reviewed-by: art
2009-07-09 15:53:07 +04:00
Dmitry Cherepanov
cd90c35e8f 6847958: MouseWheel event is getting triggered for the disabled Textarea in jdk7 b60 pit build
Reviewed-by: art
2009-07-09 15:23:22 -04:00
Dmitry Cherepanov
4d337f68e8 6759726: TrayIcon constructor throws NPE instead of documented IAE
Reviewed-by: art
2009-07-09 15:18:50 -04:00
Dmitry Cherepanov
74d8995747 6855323: Robot(GraphicsDevice) constructor initializes LEGAL_BUTTON_MASK variable improperly
Reviewed-by: art
2009-07-09 15:15:28 -04:00
Yuri Nesterenko
5e24ed1624 Merge 2009-07-07 23:12:36 -07:00
Anthony Petrov
b3f3644fea 6853916: java.awt.Window.setBackground(null) throws NullPointerException
Window.setBackground() should check for null.

Reviewed-by: art, dcherepanov
2009-07-07 17:05:50 +04:00
Abhijit Saha
25a00f88d0 Merge 2009-07-06 11:42:37 -07:00
Andy Herrick
14323dd4c7 Merge 2009-07-06 14:10:31 -04:00
Sergey Malenkov
8a5359c35b 6723447: Introspector doesn't check return type for indexed property setters
Reviewed-by: rupashka
2009-07-06 14:32:04 +04:00
Sergey Malenkov
64bc185e55 6329581: RFE: LTP: java.beans.XMLEncoder does not manage ClassLoader
Reviewed-by: rupashka, alexp
2009-07-03 16:56:29 +04:00
Sergey Malenkov
2914141733 6380849: RFE: Automatic discovery of PersistanceDelegates
Reviewed-by: rupashka, alexp
2009-07-02 19:48:11 +04:00
Jennifer Godinez
4d69072a88 6848799: Reg-test java/awt/print/PageFormat/PageFormatFromAttributes.java fails on Rhel_5
Reviewed-by: tdv, prr
2009-07-01 12:07:55 -07:00
Abhijit Saha
1024df69d8 Merge 2009-07-01 09:59:16 -07:00
Yuri Nesterenko
41cd33fc25 Merge 2009-07-01 00:23:56 -07:00
Yuri Nesterenko
6c34ebe4d3 Merge 2009-06-30 02:48:38 -07:00
Tim Bell
692966b0eb Merge 2009-06-29 23:08:06 -07:00
Xueming Shen
4b33465b42 6707281: Adler32.update() JavaDoc is wrong
6553961: java.util.zip.{CRC32,Adler32}.update(int) doc errors
6646605: Missing method ZipFile.getComment()
6841232: ZipFile should implement Closeable
4985614: Failure on calls to ZipFile constructor
5032358: "java.util.zip.ZipException: The system cannot find the file specified"
6846616: java/util/zip/ZipFile/ReadAfterClose.java failed after fix for 6735255

Some misc bug/rfe fixes for zipfile

Reviewed-by: alanb
2009-06-29 19:57:58 -07:00
Tim Bell
c0a769b9ff Merge 2009-06-29 17:40:17 -07:00
Andy Herrick
974a4682e4 Merge 2009-06-29 12:06:42 -04:00
Michael McMahon
df221ae4b0 Merge 2009-06-29 15:08:52 +01:00
Michael McMahon
f9268d3c20 6827999: 6827999: URLClassLoader.addURL(URL) adds URLs to closed class loader
Reviewed-by: chegar
2009-06-29 15:05:15 +01:00
Tim Bell
817aac3f58 Merge 2009-06-28 23:16:18 -07:00
Alan Bateman
212565afd7 6838333: New I/O: Update file system API to jsr203/nio2-b101
6844313: New I/O: File timestamps should be represented by a FileTime rather than a long+TimeUnit

Reviewed-by: sherman
2009-06-27 21:46:53 +01:00
Tim Bell
645805c313 Merge 2009-06-26 10:25:45 -07:00
Man Lung Wong
adb1c7571e 6848458: java/awt/GridLayout/LayoutExtraGaps/LayoutExtraGaps.java fails
Consider gap between the component edge and container borders instead of just getX() and getY()

Reviewed-by: dav
2009-06-26 19:50:44 +04:00
Yuri Nesterenko
b6b6594d50 Merge 2009-06-25 02:42:26 -07:00
Yuka Kamiya
3876899a84 6609750: [Fmt-De] SimpleDateFormat.format() doesn't handle pattern "y" correctly
Reviewed-by: okutsu
2009-06-25 17:37:28 +09:00
Yuri Nesterenko
0efb52dc90 Merge 2009-06-25 00:18:46 -07:00