Commit Graph

756 Commits

Author SHA1 Message Date
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
Dmitry Cherepanov
2930227188 6705345: Enable multiple file selection in AWT FileDialog
Reviewed-by: art, anthony, alexp
2010-02-12 19:58:10 +03:00
Chris Hegarty
ee38364a92 6693244: Java Web Start app fails on 6u10 beta w/ AssertionError in AuthenticationInfo.requestCompleted
Reviewed-by: michaelm
2010-02-10 13:23:50 +00:00
Lana Steuck
bf5a0d88c1 Merge 2010-02-09 00:05:16 -08:00
Lana Steuck
4a34c2f90b Merge 2010-02-09 00:02:38 -08:00
Lana Steuck
c440b69d06 Merge 2010-02-09 00:00:38 -08:00
Roman Kennke
c73000ad8f 6904882: java.awt.Font.createFont() causes AccessControlException if executed with "-Djava.security.manager"
Perform FontUtilities initialization in privileged block

Reviewed-by: igor, prr
2010-02-07 11:07:50 +01:00
Xueming Shen
ff1e82994b 6923692: java/classes_util TEST_BUG:ReadZip.java fails when
To create the test file at test.dir

Reviewed-by: alanb
2010-02-06 09:26:57 -08:00
Xueming Shen
9ff3b18578 6919132: Regex \P{Lu} selects half of a surrogate pari
To use StartS for complement category/block class

Reviewed-by: martin, okutsu
2010-02-05 00:10:42 -08:00
Sergey Malenkov
81397ffe98 6921057: REGRESSION: persistence delegate issue on Windows and Linux against 5.u23b03/6u17b11
Reviewed-by: peterz, art
2010-02-05 10:36:12 +03:00
Roman Kennke
aafe7d7398 6896335: GraphicsEnvironment.getDefaultScreenDevice() throws UnsatisfiedLinkError in headless mode
Use local ge variable instead of localEnv field in GE.

Reviewed-by: igor, prr
2010-02-03 10:02:33 +01:00
Roman Kennke
d5280868a3 6888734: PIT: regression test fails when java.security.manager is enabled
Load FontManager instance in privileged block to avoid AccessControlException

Reviewed-by: igor, tdv
2010-02-02 16:38:26 +01:00
Lana Steuck
21f09fb0b2 Merge 2010-01-28 18:24:54 -08:00
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
Yuka Kamiya
f73952ec12 6853792: test/java/text/Bidi/Bug6850113.java compilation error
Reviewed-by: okutsu
2009-06-25 07:38:09 +09:00
Sergey Malenkov
c48e8ec7a6 6852574: EnumPersistenceDelegate fails to persist instances with blocks
Reviewed-by: peterz
2009-06-24 13:59:54 +04:00
Yuri Nesterenko
46360bd868 Merge 2009-06-23 23:09:49 -07:00
Anthony Petrov
b751a27e27 6851646: test/closed/java/awt/GridBagLayout/GridBagLayoutIpadXYTest/GridBagLayoutIpadXYTest.java can fail
Added realSync() call. Made the test public.

Reviewed-by: dcherepanov
2009-06-23 16:10:19 +04:00
Dmitry Cherepanov
0cadb2e023 6736247: Component.printAll Invalid local JNI handle
Reviewed-by: anthony
2009-06-23 15:10:02 +04:00
Xiaobin Lu
c0146a5bd0 6850606: Regression from JDK 1.6.0_12
The returned result from multiply should be constructed by using valueOf to take care of the INFLATED case.

Reviewed-by: darcy
2009-06-20 13:34:06 -07:00
Anton Tarasov
48ed6852bf 4788402: SortingFocusTraversalPolicy: prob with non-focusable focus Cycle Root as first
Reviewed-by: dcherepanov
2009-06-18 11:28:54 +04:00
Yuri Nesterenko
0b09aba377 Merge 2009-06-17 23:27:56 -07:00
Abhijit Saha
9a130fd30d Merge 2009-06-17 13:12:42 -07:00
Yuri Nesterenko
d184c2ebce Merge 2009-06-16 00:37:39 -07:00
Andy Herrick
1939fe49d8 Merge 2009-06-15 13:08:29 -04:00
Dmitry Cherepanov
d7d8999b2b 6847584: closed/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html fails
Reviewed-by: anthony
2009-06-15 11:15:55 -04:00
Martin Buchholz
a5e977cf14 6850720: (process) Use clone(CLONE_VM), not fork, on Linux to avoid swap exhaustion
Use clone(CLONE_VM) on Linux; Reluctantly implement execvpe.

Reviewed-by: michaelm
2009-06-14 14:23:22 -07:00
Yuka Kamiya
3445a11481 6850113: Bidi class needs to be updated to support Unicode 5.1
Reviewed-by: okutsu
2009-06-13 06:43:54 +09:00
Abhijit Saha
d214e051c9 Merge 2009-06-12 12:26:20 -07:00
Andy Herrick
e487e25584 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
6845973: Update JDK7 with deployment changes in 6u13, 6u14
4802695: Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64
6825019: DownloadManager should not be loaded and referenced for full JRE
6738770: REGRESSION:JSException throws when use LiveConnect javascript facility
6772884: plugin2 : java.lang.OutOfMemoryError or crash
6707535: Crossing domain hole affecting multiple sites/domains using plug-in
6728071: Non-verification of Update files may allow unintended updates
6704154: Code loaded from local filesystem should not get access to localhost
6727081: Web Start security restrictions bypass using special extension jnlp
6727079: Java Web Start Socket() restriction bypass
6727071: Cache location/user name information disclosure in SingleInstanceImpl
6716217: AppletClassLoader adds permissions based on codebase regardless of CS
6694892: Java Webstart inclusion via system properties override [CVE-2008-2086]
6704074: localhost socket access due to cache location exposed
6703909: Java webstart arbitrary file creation using nativelib
6665315: browser crashes when deployment.properties has more slashes ( / )
6660121: Encoding values in JNLP files can cause buffer overflow
6606110: URLConnection.setProxiedHost for resources that are loaded via proxy
6581221: SSV(VISTA): Redirection FAILS to work if user does a downgrade install
6609756: Buffer Overflow in Java ActiveX component
6608712: Bypassing the same origin policy in Java with crafted names
6534630: "gnumake clobber" doesn't
6849953: JDK7 - replacement of bufferoverflowU.lib on amd64 breaks build
6849029: Need some JDK7 merge clean-up after comments on the webrev
6847582: Build problem on JDK7 with isSecureProperty in merge
6827935: JDK 7 deployment merging - problem in Compiler-msvm.gmk
6823215: latest merge fixes from 6u12 -> JDK7
6816153: further mergers for JDK7 deployment integration
6807074: Fix Java Kernel and JQS in initial JDK7 builds

Initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-12 14:56:32 -04:00
Tim Bell
54e8ace85c Merge 2009-06-11 21:32:12 -07:00
Omair Majid
eb1cb99d4e 6832386: Fix JTreg test: java/awt/Graphics/DrawImageBG/SystemBgColorTest.java
Removed unneeded System.exit(0) call.

Reviewed-by: art, ohair, anthony
2009-06-04 15:18:46 +04:00
Mandy Chung
e1109816d7 Merge 2009-05-27 13:02:00 -07:00
Xue-Lei Andrew Fan
06370a8f01 6845286: Add regression test for name constraints
Create regression test cases on name constraints

Reviewed-by: weijun
2009-05-27 17:48:22 +08:00
Mandy Chung
26e0c238dd 6535104: TEST_BUG: FindDeadlocks.java fails intermittently
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:09:32 -07:00
Mandy Chung
dd2d72ea50 6512493: TEST_BUG: unexpected LockInfo failure in LockedSynchronizers.java
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:07:14 -07:00
Mandy Chung
354731edb5 5080203: TEST_BUG: ThreadStateTest fails intermittently
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:02:44 -07:00
Mandy Chung
bb698a2b6f 6798842: TEST_BUG: ThreadStackTrace.java fails intermittently with unexpected thread status
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:54:28 -07:00
Mandy Chung
e2f7248afb 6829636: test/java/util/logging/LoggingDeadlock2.java is flaky
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:47:57 -07:00
Xue-Lei Andrew Fan
93614a3c7d 6720721: CRL check with circular depency support needed
Checking AKID of certificates and CRLs

Reviewed-by: mullan, weijun
2009-05-26 16:43:22 +08:00