Commit Graph

334 Commits

Author SHA1 Message Date
Sean Mullan
cff35761aa Merge 2013-08-27 12:27:31 -04:00
Sean Mullan
4520fbf983 8019830: Add com.sun.media.sound to the list of restricted package
Reviewed-by: vinnie
2013-08-27 12:04:32 -04:00
Joel Borggrén-Franck
d4b28471ff 8022343: j.l.Class.getAnnotatedSuperclass() doesn't return null in some cases
Reviewed-by: darcy, vromero, psandoz
2013-08-26 13:38:14 +02:00
Peter Levart
75a8f58cd1 8022721: AnnotationTypeDeadlockTest.java throws java.lang.IllegalStateException: unexpected condition
Reviewed-by: alanb, jfranck
2013-08-20 14:13:59 +02:00
Staffan Larsen
138561d596 8023101: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails
Reviewed-by: ysr
2013-08-22 08:28:53 +02:00
Brian Burkhalter
10673cfe8c 8022109: Evaluate adding incrementExact, decrementExact, negateExact to java.lang.Math
Add the methods for parameter types int and long.

Reviewed-by: mduigou
2013-08-12 10:35:44 -07:00
Rob McKenna
c6247493d0 5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion
Reviewed-by: alanb, dholmes, martin, erikj, coffeys
2013-08-13 19:10:54 +01:00
Mani Sarkar
4f76f09719 8022749: Convert junit tests to testng in test/java/lang/invoke
Reviewed-by: mduigou, alanb
2013-08-12 12:11:04 -07:00
Vicente Romero
d0479145f3 8015780: java/lang/reflect/Method/GenericStringTest.java failing
Reviewed-by: darcy, jfranck
2013-08-12 17:40:14 +01:00
Alexey Utkin
ae9638f154 7147084: (process) appA hangs when read output stream of appB which starts appC that runs forever
Reviewed-by: alanb, robm, martin
2013-08-08 09:16:16 +04:00
Amy Lu
0f4a06a92a 7184826: (reflect) Add support for Project Lambda concepts in core reflection
Reviewed-by: darcy, jfranck
2013-08-06 18:54:02 +02:00
Brent Christian
b661fb4e1a 8011194: Apps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X
On Mac, default to UTF-8 if no environmental hints are available

Reviewed-by: naoto, ddehaven
2013-08-02 15:30:11 -07:00
Jaroslav Bachorik
76c5530392 8020875: java/lang/management/ThreadMXBean/ResetPeakThreadCount.java fails intermittently
Reviewed-by: dfuchs, chegar
2013-07-26 10:12:14 +02:00
Ivan Gerasimov
5db8580b26 8016838: improvement of RedefineBigClass and RetransformBigClass tests
Reviewed-by: dcubed
2013-07-23 18:57:57 +04:00
Sean Coffey
6a6f5006d3 8017566: Backout 8000450 - Cannot access to com.sun.corba.se.impl.orb.ORBImpl
Reviewed-by: mchung
2013-07-15 13:42:35 +01:00
Peter Levart
b0d167645f 7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
Reviewed-by: dholmes, jfranck
2013-07-15 10:55:53 +02:00
Thomas Schatzl
b2aec6eda3 8014890: (ref) Reference queues may return more entries than expected
When enqueuing references check whether the j.l.r.Reference has already been enqeued or removed in the lock. Do not enqueue them again. This occurs because multiple threads may try to enqueue the same j.l.r.Reference at the same time.

Reviewed-by: mchung, dholmes, plevart, shade
2013-07-08 14:05:59 +02:00
David Holmes
ddb13a825c 8016341: java/lang/ref/OOMEInReferenceHandler.java failing intermittently
Ensure WeakRef object can't be prematurely gc'd

Reviewed-by: chegar, plevart
2013-07-09 22:01:57 -04:00
Sean Coffey
411683f3a7 8019979: Replace CheckPackageAccess test with better one from closed repo
Reviewed-by: mullan
2013-07-09 16:00:41 +01:00
Erik Helin
6085f712f8 8010734: NPG: The test MemoryTest.java needs to be updated to support metaspace
Reviewed-by: alanb
2013-07-08 11:30:44 +02:00
Lana Steuck
23a17dfafa Merge 2013-07-05 13:28:17 -07:00
Lana Steuck
0c0bcad83c Merge 2013-07-03 19:09:20 -07:00
Eric McCorkle
a58f094d40 8016285: Add java.lang.reflect.Parameter.isNamePresent()
Add isNamePresent method to parameter reflection library, which indicates whether or real parameter data is available

Reviewed-by: darcy
2013-07-03 19:47:15 -04:00
Christian Thalinger
22d32e76ce 8019184: MethodHandles.catchException() fails when methods have 8 args + varargs
Reviewed-by: jrose
2013-07-03 11:35:06 -07:00
Mandy Chung
5a360a7579 8007035: deprecate public void SecurityManager.checkMemberAccess(Class<?> clazz, int which)
Reviewed-by: jrose, alanb, dfuchs
2013-07-02 15:58:09 -07:00
Daniel Fuchs
7addcb118b 8014045: test/java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java failing intermittently
This test was failing because it didn't take into account the fact that Loggers could be garbage collected.

Reviewed-by: mchung
2013-07-01 11:13:56 +02:00
Lana Steuck
c4c235dc4a Merge 2013-06-28 19:46:18 -07:00
David Katleman
78425fd8da 8019347: JDK8 b96 source with GPL header errors
Reviewed-by: iris, alanb, lancea
2013-06-28 16:26:36 -07:00
David Katleman
a744eb3dcb 8016684: JDK8 b94 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:26:18 -07:00
Chris Hegarty
c7a4e7e7fa Merge 2013-06-18 16:08:46 +01:00
Alexey Utkin
857e168f7a 8016046: (process) Strict validation of input should be security manager case only [win]
Reviewed-by: alanb, ahgross
2013-06-18 17:19:49 +04:00
Chris Hegarty
5864e2de68 Merge 2013-06-17 11:26:16 +01:00
Ivan Gerasimov
b595458607 7181748: java/lang/ThreadGroup/Suspend.java test fails intermittently
Reviewed-by: chegar, dholmes
2013-06-13 15:15:03 +04:00
Alan Bateman
d233c11556 8016369: java/lang/instrument/RetransformBigClass.sh failing again
Reviewed-by: sla, sergei
2013-06-12 09:44:34 +01:00
Robert Field
9151d67365 8016761: Lambda metafactory - incorrect type conversion of constructor method handle
Reviewed-by: jrose
2013-06-26 07:50:04 -07:00
Dmitry Nadezhin
f52ad64ccc 7192954: Fix Float.parseFloat to round correctly and preserve monotonicity
4396272: Parsing doubles fails to follow IEEE for largest decimal that should yield 0
7039391: Use Math.ulp in FloatingDecimal

Correct rounding and monotonicity problems in floats and doubles

Co-authored-by: Louis Wasserman <lowasser@google.com>
Reviewed-by: bpb, martin
2013-06-21 11:12:18 -07:00
Alan Bateman
096a439d06 7059085: Retire Thread.stop(Throwable) so that it throws UOE
Reviewed-by: dholmes, chegar, forax, darcy, mduigou
2013-06-11 11:22:28 +01:00
Coleen Phillimore
20641e00ab 7124706: enable RetransformBigClass.sh test when fix for 8013063 is promoted
The code for this test is fixed now and integrated to TL repo and it passes now.

Reviewed-by: alanb
2013-06-07 22:15:27 -04:00
Sean Coffey
a3d61f5a75 8000450: Restrict access to com/sun/corba/se/impl package
Reviewed-by: alanb, chegar, lancea
2013-06-06 14:10:44 +01:00
Frederic Parain
f405277c72 7150256: Add back Diagnostic Command JMX API
Reviewed-by: mchung, jbachorik
2013-06-05 08:41:02 -07:00
Chris Hegarty
0431243910 8014737: java/lang/invoke/7196190/MHProxyTest.java fails after 8009424
Reviewed-by: twisti
2013-05-22 13:57:59 +01:00
Mike Duigou
9bb27cedcb 8007398: Peformance improvements to Integer and Long string formatting
Co-authored-by: Steven Schlansker <stevenschlansker@gmail.com>
Reviewed-by: mduigou, martin, darcy, briangoetz
2013-02-12 17:04:09 -08:00
Staffan Larsen
762cff81b7 8015440: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails with RuntimeException
Make sure serial gc compacts heap every time

Reviewed-by: mchung, brutisso, nloodin
2013-05-29 09:42:39 +02:00
Peter Levart
c6e58fdb1d 7038914: VM could throw uncaught OOME in ReferenceHandler thread
Catch OutOfMemoryError in reference handler thread if caused by allocation of an InterruptedException

Reviewed-by: dholmes, alanb
2013-05-27 09:41:44 +02:00
David Holmes
4ef977fec3 8014814: (str) StringBuffer "null" is not appended
Reviewed-by: alanb
2013-05-22 20:21:13 -04:00
Lana Steuck
9bb98bc521 Merge 2013-05-22 09:57:48 -07:00
Lana Steuck
8f6d37ee8e Merge 2013-05-17 10:11:35 -07:00
Peter Levart
2548b20c9e 8014477: (str) Race condition in String.contentEquals when comparing with StringBuffer
Reviewed-by: alanb, mduigou, dholmes
2013-05-17 14:41:39 +02:00
Mandy Chung
a4a210dc69 4487672: (proxy) Proxy constructor should check for null argument
Reviewed-by: alanb, lancea
2013-05-16 15:08:24 -07:00
Eric Wang
9b4403735d 8004177: test/java/lang/Thread/GenerifyStackTraces.java doesn't clean-up
Reviewed-by: alanb, dholmes, chegar
2013-05-16 10:59:06 +01:00