Commit Graph

292 Commits

Author SHA1 Message Date
John R Rose
1f3aab409b 7054590: (JSR-292) MethodHandleProxies.asInterfaceInstance() accepts private/protected nested interfaces
Fix non-compliant logic in MethodHandleProxies, fix invalid private classes in MethodHandlesTest

Reviewed-by: twisti, never
2011-06-14 22:47:12 -07:00
John R Rose
9acf4f0284 7052202: JSR 292: Crash in sun.invoke.util.ValueConversions.fillArray
Fix corner cases involving MethodHandles.permuteArguments with long or double argument lists.

Reviewed-by: twisti, never
2011-06-14 22:47:09 -07:00
John R Rose
ad33af1a1c 7051206: JSR 292 method name SwitchPoint.isValid is misleading to unwary users; should be hasBeenInvalidated
Reviewed-by: kvn, never, ysr
2011-06-03 11:20:20 -07:00
John R Rose
c0d9c39aa2 7049122: java/lang/invoke/RicochetTest.java with MAX_ARITY=255 in -Xcomp mode overflows code cache
Reduce the scope of the unit test (mark high water mark of testing with @ignore tags)

Reviewed-by: never
2011-06-01 23:56:51 -07:00
John R Rose
f32795386e 7050328: (jsr-292) findConstructor throws ExceptionInInitializerError if run under SecurityManager
Wrap system property and reflection accesses under doPrivileged.  Ensure constant pool linkage bypasses the SM as specified.

Reviewed-by: kvn, never
2011-06-01 23:56:47 -07:00
John Coomes
93196c8b51 Merge 2011-05-27 19:03:03 -07:00
John R Rose
025d0aead8 7032323: code changes for JSR 292 EG adjustments to API, through Public Review
API code changes and javadoc changes following JSR 292 Public Review comments, through PFD

Reviewed-by: never
2011-05-26 17:37:36 -07:00
David Katleman
170844d307 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:32:36 -07:00
Erik Trimble
0840b597d1 Merge 2011-05-20 05:24:32 -07:00
John R Rose
8bb387d77e 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
Point-fixes for 7038847, 7038860, 7042656, 7042829, 7041853, and several other reports

Reviewed-by: never, kvn
2011-05-17 19:48:19 -07:00
John R Rose
4b011923e2 7032850: MethodHandle.invokeGeneric throws unspecified RuntimeException if parameterized method is called
Implement invocation corner cases, including correct type conversions and interface type enforcement.

Reviewed-by: never
2011-05-17 19:48:14 -07:00
Erik Trimble
282881dd84 Merge 2011-05-17 14:29:59 -07:00
John R Rose
9a58e303d7 6939861: JVM should handle more conversion operations
Integrate JDK code with JVM-supplied ricochet frames.

Reviewed-by: never, twisti
2011-05-12 19:27:49 -07:00
John R Rose
eb9632506b 7034977: JSR 292 MethodHandle.invokeGeneric should be renamed MethodHandle.invoke
Rename invokeGeneric to invoke

Reviewed-by: never, twisti
2011-05-12 19:27:33 -07:00
Xueming Shen
4463efaf61 7037261: j.l.Character.isLowerCase/isUpperCase need to match the Unicode Standard
Updated j.l.c.lsLowerCase/isUpperCase

Reviewed-by: okutsu
2011-04-28 20:18:57 -07:00
Joe Darcy
30bdc40c81 7039369: Limit range of strictfp in FloatingDecimal
Additional reviews by sergey.kuksenko@oracle.com

Reviewed-by: alanb
2011-04-26 10:35:06 -07:00
Lana Steuck
b550ca992e Merge 2011-04-25 15:44:20 -07:00
Joe Darcy
896553f439 6998871: Support making the Throwable.stackTrace field immutable
Reviewed-by: dholmes, mchung, forax
2011-04-21 15:55:59 -07:00
Lana Steuck
b92cf6375e Merge 2011-04-21 11:11:20 -07:00
Michael McMahon
1b62e08853 7034570: java.lang.Runtime.exec(String[] cmd, String[] env) can not work properly if SystemRoot not inherited
Reviewed-by: dholmes, alanb
2011-04-20 12:03:30 +01:00
Erik Trimble
0927ad6bb3 Merge 2011-04-19 18:14:51 -07:00
Mike Duigou
d845140f33 7035160: Disable broken test cases for test/java/lang/reflect/Generics/Probe.java
Reviewed-by: alanb
2011-04-18 11:31:38 -07:00
Joe Darcy
04d347dde1 7021568: Double.parseDouble() returns architecture dependent results
Reviewed-by: alanb
2011-04-17 22:52:26 -07:00
Lana Steuck
b99716e22a Merge 2011-04-17 16:19:29 -07:00
Joe Darcy
b4d4e3bed4 6430675: Math.round has surprising behavior for 0x1.fffffffffffffp-2
Reviewed-by: alanb
2011-04-14 21:27:10 -07:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Erik Trimble
5c3b84ba2d Merge 2011-04-12 16:37:16 -07:00
Xueming Shen
e27e4cb99b 7033561: Missing Unicode Script aliases
Added 6.0 aliases

Reviewed-by: okutsu, peytoia, alanb
2011-04-10 23:33:14 -07:00
John R Rose
06a8e9b35e 7019529: JSR292: java/dyn/ClassValueTest.java depends on sub-test execution order
Test should not use static variables, because they may contain stale values.

Reviewed-by: twisti
2011-04-09 21:38:40 -07:00
John R Rose
e60c5b1af0 6817525: turn on method handle functionality by default for JSR 292
JVM bug 6817525 requires changes to some JDK unit tests; update test invocation flags and "Indify" snapshot

Reviewed-by: kvn, twisti
2011-04-07 22:07:06 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Lana Steuck
1c712d2e72 Merge 2011-04-04 17:28:28 -07:00
Lana Steuck
1e260ac520 Merge 2011-04-01 14:47:59 -07:00
Lana Steuck
24ab596494 Merge 2011-03-31 22:07:32 -07:00
Joe Darcy
92c64a56ae 7005628: Clarify NPE behavior of Throwable.addSuppressed(null)
Reviewed-by: dholmes, mchung, jjb
2011-03-31 19:09:02 -07:00
Mandy Chung
793f1078b6 7024172: Move BufferPoolMXBean and PlatformLoggingMXBean java.lang.management
Reviewed-by: alanb
2011-03-29 15:50:55 -07:00
Sergey Malenkov
4eb4d46567 6825739: jdk regression test failing on linux: java/lang/reflect/Method/InheritedMethods.java
Reviewed-by: rupashka
2011-03-24 21:45:46 +03:00
Jim Holmlund
1273c8e233 7029823: (ann) test/java/lang/annotation/package-info.java no longer compiles
Use @Deprecated instead of @java.lang.annotation.Documented

Reviewed-by: jjg, smarks
2011-03-24 11:40:13 -07:00
John R Rose
3718824e69 7012648: move JSR 292 to package java.lang.invoke and adjust names
Package and class renaming only; delete unused methods and classes; add @since tags; no code changes

Reviewed-by: twisti
2011-03-23 23:02:31 -07: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
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
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
Dmitry Nadezhin
aa6f495fbe 4421494: infinite loop while parsing double literal
Reviewed-by: darcy, alanb
2011-02-08 19:31:44 +00:00
Michael McMahon
1d6cc8fc42 6751021: TEST_BUG: race condition in the test java/lang/Runtime/exec/Duped.java
Reviewed-by: alanb
2011-02-03 12:57:04 +00:00
Lana Steuck
fb91d40572 Merge 2011-01-04 17:05:38 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Stuart Marks
6e7cb44eea 6880112: Project Coin: Port JDK core library code to use diamond operator
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Lana Steuck
a0eaaf3f1e Merge 2010-11-29 10:50:49 -08:00
Yuka Kamiya
4a4fb15178 6959267: Support Unicode 6.0.0
Reviewed-by: okutsu
2010-11-17 01:02:20 +09:00
Joe Darcy
3aae57e052 6991528: Support making Throwable.suppressedExceptions immutable
Reviewed-by: mchung, dholmes
2010-11-14 07:22:39 -08: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
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
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
Lana Steuck
53e6cf8989 Merge 2010-09-25 12:00:05 -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
Kelly O'Hair
f7e31fc6c2 6982137: Rebranding pass 2 - missed copyright changes
Reviewed-by: mbykov
2010-09-09 16:26:46 -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
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
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
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
Kelly O'Hair
c9ce349372 6824012: Add jdk regression tests to default jprt jobs
A work in progress on adding to the jprt testing.

Reviewed-by: tbell
2009-03-31 16:14:14 -07:00
Alan Bateman
a2b46bd320 6807702: Integer.valueOf cache should be configurable
Reviewed-by: darcy
2009-03-24 14:05:44 +00:00
Joe Darcy
0476ba59fb 6327048: Enum javadoc could link to JLS
6653154: Exception message for bad Enum.valueOf has spurious "class"

Reviewed-by: emcmanus
2009-01-29 13:04:44 -08:00
Joe Darcy
79ec4bf8d3 6704655: Test test/java/lang/reflect/Generics/Probe.java fails under OpenJDK
Reviewed-by: ksrini
2009-01-28 10:30:33 -08:00
Joe Darcy
61f89b0025 6601457: Move wrapper class tests from closed to open
6601458: Move java.math tests from closed to open
6740185: Move java/lang/annotations tests to open
6759433: Move Math and StrictMath regression tests from closed to open

Move some more regression tests to the open

Reviewed-by: jjg
2009-01-26 19:49:26 -08:00
Joshua Bloch
adcd85f803 6761678: (ann) SecurityException in AnnotationInvocationHandler.getMemberMethods
Move call to getDeclaredMethods inside doPrivileged

Reviewed-by: darcy, mullan
2008-10-24 20:34:40 -07:00
Xiomara Jayasena
6e86513c3a 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:32 -07:00
Chris Hegarty
1833c872a0 6576763: Thread constructors throw undocumented NPE for null name
Update javadoc to specify NPE as well as fix minor bug in implementation.

Reviewed-by: alanb
2008-08-29 17:46:45 +01:00
Eamonn McManus
e2c297b29f 5041784: (reflect) generic signature methods needlessly return generic arrays
Reviewed-by: darcy
2008-08-27 11:03:59 +02:00
Swamy Venkataramanappa
64b449dd2a 6736461: ThreadMXBean Locks.java fails intermittently
Fixed the test to wait for the right state before calling check thread information.

Reviewed-by: jjh
2008-08-19 12:46:34 -07:00
Swamy Venkataramanappa
5091305900 6732441: TEST_BUG: ThreadMXBeanProxy test fails intermittently
Fixed the race condition in the test.

Reviewed-by: jjh
2008-08-06 10:24:33 -07:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Xueming Shen
fa0719879c 6706299: System property java.class.version should be 51 for jdk7
System property java.class.version should be 51 for jdk7

Reviewed-by: alanb
2008-06-06 14:57:32 -07:00
Mandy Chung
98ecfdaa47 6610094: Add generic support for platform MXBeans of any type (also fixed 6681031)
Add new methods in ManagementFactory class to obtain platform MXBeans

Reviewed-by: alanb, dfuchs, emcmanus
2008-04-10 10:47:13 -07:00
Daniel D. Daugherty
afd0a54dd0 6667089: 3/3 multiple redefinitions of a class break reflection
Add regression test for multiple redefinitions of a class break reflection.

Reviewed-by: sspitsyn
2008-03-24 17:20:54 -07:00
Daniel D. Daugherty
43ac52cdce 6572160: 3/3 Instrumentation.getObjectSize triggers JVM crash in JPLISAssert in shutdown
Tolerate JVMTI_ERROR_WRONG_PHASE return codes so that JLI methods can be called to the end of VM's life.

Reviewed-by: ohair, sspitsyn
2008-03-24 17:12:01 -07:00
Daniel D. Daugherty
11ff50b340 6545149: 4/4 JLI Instrumentation.redefineClasses SIGSEGVs on java/lang/Thread
Add regression test for redefining class with native methods.

Reviewed-by: sspitsyn
2008-03-24 16:11:24 -07:00
Daniel D. Daugherty
904063c9c9 6528548: 4/4 NativeMethodPrefixAgent.java times out intermittently in nightly
Increase timeouts for tasks that take > 10 seconds on a 4-way Ultra-80 with all local resources.

Reviewed-by: sspitsyn
2008-03-24 16:04:07 -07:00
Daniel D. Daugherty
7d1d2b63c1 6491461: 3/3 TEST: java/lang/instrument .sh tests need to use $TESTVMOPTS in their java commands
Add ${TESTVMOPTS} to java test execution command(s).

Reviewed-by: sspitsyn
2008-03-24 15:42:37 -07:00
Daniel D. Daugherty
a3114e931c 6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir
Only copy Java source files from ilib and bootreporter.

Reviewed-by: sspitsyn
2008-03-24 15:26:24 -07:00
Daniel D. Daugherty
791e6a4a43 6289149: 4/4 Java Agent will pick wrong execution path while attaching
Check for a declared premain() or agentmain() method before an inherited one

Reviewed-by: sspitsyn
2008-03-24 15:20:29 -07:00
Daniel D. Daugherty
dba3a02ea0 6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
Attribute values should be extracted without leading or trailing whitespace.

Reviewed-by: ohair, sspitsyn
2008-03-24 15:14:31 -07:00
Daniel D. Daugherty
fa12ec89ef 5088398: 3/2 java.lang.instrument TCK test deadlock (test11)
Add regression test for single-threaded bootstrap classloader.

Reviewed-by: sspitsyn
2008-03-24 15:05:09 -07:00
Daniel D. Daugherty
bab69115c7 4926961: 4/4 TransformerManagementThreadRemoveTests hangs
Changes motivated by Effective Java - Item 48 & Item 51.

Reviewed-by: sspitsyn
2008-03-24 14:39:30 -07:00
Daniel D. Daugherty
41dd8d9f6f 6239043: 4/4 TransformerManagementThreadAddTests.java failed
Clear fCheckedTransformers in order to properly record transformer() call data.

Reviewed-by: sspitsyn
2008-03-24 14:31:47 -07:00
Martin Buchholz
abde1241e1 4960438: (process) Need IO redirection API for subprocesses
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00