Mandy Chung
1b7f902c51
8022208: Intermittent test failures in java/lang/Thread/ThreadStateTest.java
...
6944188: ThreadMXBean/ThreadStateTest.java fails intermittently
Reviewed-by: dholmes, chegar
2013-11-05 17:33:26 -08:00
Andreas Lundblad
79b1f94594
8016725: TEST_BUG: java/lang/reflect/Method/DefaultMethodModeling.java failing intermittently
...
Moved DefaultMethodModeling.java to its own directory to avoid conflicts with Equals.java.
Reviewed-by: darcy
2013-11-04 15:21:47 +01:00
Robert Field
ee1006e3bd
7194897: JSR 292: Cannot create more than 16 instances of an anonymous class
...
8027681: Lambda serialization fails once reflection proxy generation kicks in
Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: ksrini, briangoetz, jfranck
2013-11-04 10:12:18 -08:00
Jaroslav Bachorik
21a239f4c5
7144200: java/lang/management/ClassLoadingMXBean/LoadCounts.java failed with JFR enabled
...
Make the test less stringent by not requiring the number of loaded classes to increase by a specific number
Reviewed-by: sla
2013-10-31 11:59:09 +01:00
Joe Darcy
5f3b001859
8005294: Consider default methods for additions to AnnotatedElement
...
Reviewed-by: jfranck, plevart, mchung, abuckley, sogoel
2013-10-30 17:27:25 -07:00
Jaroslav Bachorik
292c14d972
8020467: Inconsistency between usage.getUsed() and isUsageThresholdExceeded() with CMS Old Gen pool
...
Reviewed-by: mchung, brutisso
2013-10-30 17:54:48 +01:00
Joel Borggrén-Franck
be2d6e6535
8023651: j.l.r.Constructor.getAnnotatedReceiverType() and j.l.r.Constructor.getAnnotatedReturnType() for inner classes return incorrect result
...
Reviewed-by: darcy
2013-10-24 19:04:27 +02:00
Andreas Lundblad
5db9cc7bed
8027170: Annotations declared on super-super-class should be overridden by super-class
...
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jfranck
2013-10-24 18:52:13 +02:00
Ivan Gerasimov
f14e06950e
8024521: (process) Async close issues with Process InputStream
...
Reviewed-by: psandoz, martin, alanb, robm
2013-10-23 15:37:40 +04:00
Robert Field
80ce6f3ec5
8025868: Several lang/LMBD JCK tests fail with java.lang.BootstrapMethodError
...
Wildcard marker interfaces can cause duplicate implemented interfaces in generated lambda class
Reviewed-by: briangoetz
2013-10-23 15:16:35 -07:00
Staffan Larsen
7108f683fc
8026789: Update test/java/lang/instrument/Re(transform|define)BigClass.sh test to use NMT for memory leak detection
...
Reviewed-by: dcubed
2013-10-23 15:55:31 +02:00
Jaroslav Bachorik
92bd2a8b2d
7112404: 2 tests in java/lang/management/ManagementFactory fails with G1 because expect non-zero pools
...
Reviewed-by: mchung, sjiang
2013-10-23 15:03:49 +02:00
Alan Bateman
36e36d288c
8021257: com.sun.corba.se.** should be on restricted package list
...
Co-authored-by: Mark Sheppard <mark.sheppard@oracle.com>
Reviewed-by: chegar, coffeys, smarks, mullan
2013-10-22 11:43:04 +01:00
Andreas Lundblad
24b64e8c23
8004912: Repeating annotations - getAnnotationsByType(Class<T>) is not working as expected for few inheritance scenarios
...
8019420: Repeatable non-inheritable annotation types are mishandled by Core Reflection
Reviewed-by: jfranck
2013-10-22 12:35:27 +02:00
Joel Borggrén-Franck
415ea4460a
8009411: (reflect) Class.getMethods should not include static methods from interfaces
...
Update getMethods() and getMethod() to filter out interface statics
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy
2013-10-22 10:34:12 +02:00
Staffan Larsen
50a598d507
8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
...
Redefined class in stack trace may not be found by method_idnum so handle null.
Reviewed-by: coleenp, dcubed, sspitsyn
2013-10-21 23:32:36 -04:00
Yuka Kamiya
fa9bbd8594
8020037: String.toLowerCase incorrectly increases length, if string contains \u0130 char
...
Reviewed-by: naoto
2013-10-22 06:13:01 +09:00
Jaroslav Bachorik
d491a49652
7197919: java/lang/management/ThreadMXBean/ThreadBlockedCount.java has concurency issues
...
Reviewed-by: sla, mchung
2013-10-21 10:40:03 +02:00
Pavel Punegov
fd2c7a3743
8024660: TEST_BUG: java/lang/ProcessBuilder/*IOHandle.java leaving hotspot.log open in fastdebug builds
...
Reviewed-by: alanb
2013-10-18 16:28:35 +01:00
Sean Mullan
2ef954a0ff
Merge
2013-10-17 10:37:27 -04:00
Sean Mullan
70492e8a66
8026346: test/java/lang/SecurityManager/CheckPackageAccess.java failing
...
Reviewed-by: vinnie
2013-10-17 10:18:44 -04:00
David Chase
c668ed8f33
8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package
...
Modify accessibility check; it was muddled about Java vs JVM protection terminology.
Reviewed-by: jrose
2013-10-16 17:55:49 -04:00
Chris Hegarty
3486abb2c7
Merge
2013-10-15 13:54:01 +01:00
Chris Hegarty
766e77499d
Merge
2013-10-15 09:27:32 +01:00
Henry Jen
ca8301dc7d
8026362: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed on windows, jtreg report Fail to org.testng.SkipException
...
Reviewed-by: chegar
2013-10-14 17:27:20 -07:00
Stefan Karlsson
ba1c14b527
7196801: NPG: Fix java/lang/management/MemoryMXBean/LowMemoryTest2
...
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Reviewed-by: coleenp, sla
2013-10-14 14:28:50 +02:00
Karen Kinnear
1e73553e8c
8026213: Reflection support for private interface methods
...
Reviewed-by: forax, psandoz, dholmes, jfranck
2013-10-11 15:21:23 -07:00
Sean Mullan
0a60664cf1
Merge
2013-10-11 09:17:18 -04:00
Sean Mullan
2f923e8804
8007292: Add JavaFX internal packages to package.access
...
Build hooks to allow closed restricted packages to be added to java.security file
Reviewed-by: erikj, dholmes, tbell
2013-10-11 08:43:07 -04:00
Joel Borggrén-Franck
db556bacff
7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays
...
Reviewed-by: darcy, psandoz
2013-10-10 18:11:53 +02:00
Henry Jen
1f02e9968e
8023524: Mechanism to dump generated lambda classes / log lambda code generation
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: plevart, mchung, forax, jjb
2013-10-09 09:41:40 -07:00
Chris Hegarty
6088b141e2
Merge
2013-10-03 19:06:43 +01:00
Eric McCorkle
367fa5ac0e
8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions
...
Fix behavior of parameter reflection API for malformed class files.
Reviewed-by: darcy
2013-10-02 19:13:42 -04:00
David Chase
fdf6a159f5
8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError
...
Inserted code to convert specific exceptions, case-by-case, plus a test.
Reviewed-by: jrose, twisti
2013-09-27 13:32:32 -04:00
Eric McCorkle
e92da66e0b
8021398: j.l.r.Parameter.getAnnotatedType().getType() for not annotated use of type returns null
...
Fixed issue with type annotation reflection framework that would cause getType of AnnotatedTypes to be null if no annotations were present.
Reviewed-by: darcy, jfranck
2013-10-01 17:35:32 -04:00
John R Rose
be5df968ee
8024438: JSR 292 API specification maintenance for JDK 8
...
Add wildcard to unreflectConstructor, various clarifications and minor edits
Reviewed-by: mchung, darcy, twisti
2013-10-05 05:30:40 -07:00
John R Rose
c5b5f0d6c7
8025112: JSR 292 spec updates for security manager and caller sensitivity
...
Align CONSTANT_MethodHandle and Lookup.find* API calls, clarify security manager & @CallerSensitive interactions
Reviewed-by: mchung, twisti
2013-10-05 05:30:39 -07:00
John R Rose
32e77eaae1
8001110: method handles should have a collectArguments transform, generalizing asCollector
...
Promote an existing private method; make unit tests on all argument positions to arity 10 with mixed types
Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
4ea5f818b5
8024599: JSR 292 direct method handles need to respect initialization rules for static members
...
Align MH semantic with bytecode behavior of constructor and static member accesses, regarding <clinit> invocation.
Reviewed-by: twisti, darcy, abuckley, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
154969a2bc
8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
...
Add an explicit check for leading "<", upgrade the unit tests
Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
e4df9dc1ee
8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
...
Document error conditions that may occur when calling a "spreader" method handle. Use IAE in all cases.
Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
77dc59f6ca
8019417: JSR 292 javadoc should clarify method handle arity limits
...
Clarification of erroneous reading of spec. that led to 7194534
Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
622186edcb
8001105: findVirtual of Object[].clone produces internal error
...
Replicate JVM logic for access control that makes Object.clone appear public when applied to an array type.
Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
Chris Hegarty
18f0e54e81
Merge
2013-09-06 09:41:21 +01:00
Joel Borggrén-Franck
279576cf17
8007072: Update Core Reflection for Type Annotations to match latest spec
...
8022324: j.l.Class.getAnnotatedInterfaces() for array type returns wrong value
8024915: j.l.r.Executable.getAnnotatedReceiverType() should return null for static methods
Update javadoc and implementation of reflection for type annotations to match latest spec
Reviewed-by: darcy
2013-09-30 11:18:18 +02:00
Chris Hegarty
369c079b32
Merge
2013-08-30 09:37:29 +01:00
Ivan Gerasimov
06571ae862
8023130: (process) ProcessBuilder#inheritIO does not work on Windows
...
Reviewed-by: alanb, martin
2013-09-23 04:05:42 +01:00
Paul Sandoz
3a559a7ea0
8025002: "".codePoints().sorted().iterator().hasNext() causes NegativeArraySizeException
...
Reviewed-by: henryjen, alanb
2013-09-18 10:49:34 -07:00
Peter Levart
c7759dc643
8011940: java.lang.Class.getAnnotations() always enters synchronized method
...
Reviewed-by: jfranck, chegar, psandoz, shade
2013-09-19 16:14:13 +02:00
Dmitry Nadezhin
28d455529e
8010430: Math.round has surprising behavior for odd values of ulp 1
...
If the effective floating point exponent is zero return the significand including the implicit 1-bit.
Reviewed-by: bpb, darcy, gls
2013-09-11 17:07:35 -07:00