77 Commits

Author SHA1 Message Date
Joe Darcy
7dcb52915b 6963622: Project Coin: Refinements to suppressed exceptions
Reviewed-by: alanb, forax, jjb
2010-07-15 18:02:05 -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
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
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
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
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
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
Lana Steuck
27a539e27c Merge 2010-06-07 17:08:26 -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
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
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
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
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
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
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
Abhijit Saha
7f00e1bf5e Merge 2009-10-16 11:20:38 -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
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
Abhijit Saha
c6c70af568 Merge 2009-10-06 21:40:55 -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
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
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
Valerie Peng
fb19c4e1f9 6874407: Missing regression test for 6636650
Prevent classloader from resurrection

Reviewed-by: hawtin
2009-08-20 17:16:13 -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
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
Tim Bell
54e8ace85c Merge 2009-06-11 21:32:12 -07: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
Kelly O'Hair
f4e0a8215f 6842023: Improve test reliability, Increase timeout factor on jtreg tests, etc
Reviewed-by: tbell
2009-05-18 10:36:38 -07:00
Tim Bell
7a94d5e47f Merge 2009-05-04 22:16:02 -07:00
Kelly O'Hair
2756e99316 6835241: Annotate some tests with @ignore that have shown to be unpredictable
Reviewed-by: tbell
2009-04-28 14:43:44 -07:00
Mandy Chung
f7b87611c6 6829503: addShutdownHook fails if called after shutdown has commenced
Allow shutdown hook to be added during shutdown and handle properly if it fails to add

Reviewed-by: alanb, dholmes, martin
2009-04-27 12:08:41 -07:00
Alan Bateman
b5ace034c3 6832557: TEST_BUG: java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java fails to compile
Reviewed-by: darcy, mcimadamore
2009-04-23 19:44:43 +01:00
Lana Steuck
b290c5dc99 Merge 2009-04-14 00:05:07 -07:00
Tim Bell
b5b691accb Merge 2009-04-10 15:30:37 -07:00
Lana Steuck
92f020bb7c Merge 2009-04-09 20:34:56 -07:00
Yuka Kamiya
7a543510bd 6404304: RFE: Unicode 5.1 support
Reviewed-by: okutsu, naoto
2009-04-10 11:51:36 +09:00
Valerie Peng
c10f593c2c 4735126: (cl) ClassLoader.loadClass locks all instances in chain when delegating
Added support for parallel-capable class loaders

Reviewed-by: alanb
2009-04-06 18:46:20 -07:00
Kelly O'Hair
208dfa22cd 6825765: Further adjustments to regression tests run by jprt
Reviewed-by: tbell
2009-04-02 15:04:33 -07:00