491 Commits

Author SHA1 Message Date
Joe Darcy
1f577b2097 8168681: Correct deprecation text for Class.newInstance
Reviewed-by: mchung
2016-11-03 13:06:24 -07:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Alan Bateman
83df093985 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:18:07 +01:00
Mandy Chung
fc99db2ced 8168205: Should not default class path to CWD if -cp is not specified but -m is specified
Reviewed-by: alanb
2016-10-27 13:42:12 -07:00
Brent Christian
1552f3ddbb 8165793: Provide an API to query if a ClassLoader is parallel capable
Reviewed-by: alanb, mchung
2016-10-25 12:58:34 -07:00
Vinnie Ryan
15b6970daa 8165064: Enhance thread contexts in JNDI
Reviewed-by: chegar
2016-10-13 15:27:33 +01:00
Peter Levart
f160991436 6378384: (reflect) subclass can’t access superclass’s protected fields and methods by reflection
Reviewed-by: mchung
2016-10-18 20:28:58 +02:00
Claes Redestad
a424ba8c8d 8168073: Speed up URI creation during module bootstrap
Reviewed-by: alanb, mchung, psandoz, chegar
2016-10-18 14:22:16 +02:00
Stuart Marks
9852310517 8168096: markup error in "since" element spec of @Deprecated
Reviewed-by: darcy
2016-10-17 17:07:55 -07:00
Jonathan Bluett-Duncan
a19fc7fbdb 8134373: use collections convenience factories in the JDK
Reviewed-by: scolebourne, prappo, dfuchs, redestad, smarks
2016-10-12 11:54:38 -07:00
Brent Christian
2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00
Alejandro Murillo
7e7cbce1f6 Merge 2016-10-05 06:28:23 -07:00
Mandy Chung
6504983459 8166860: Add magic number to jmod file
Reviewed-by: alanb, jjg
2016-10-04 18:56:28 -07:00
Peter Levart
566b0cca41 8166842: String.hashCode() has a non-benign data race
Reviewed-by: shade, alanb, martin
2016-09-30 17:34:08 +02:00
Alejandro Murillo
53fa6ff273 Merge 2016-09-30 02:52:42 -07:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Sean Coffey
48490309d8 8151832: Improve exception messages in exception thrown by new JDK 9 code
Reviewed-by: alanb
2016-09-22 17:21:10 +01:00
Dean Long
14ca581abf Merge 2016-09-20 16:34:47 -04:00
Alejandro Murillo
af75db6517 Merge 2016-09-16 10:57:21 -07:00
Mandy Chung
6f740b0d0f 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:36 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
Claes Redestad
32f983128d 8165492: Reduce number of lambda forms generated by MethodHandleInlineCopyStrategy
Reviewed-by: mhaupt, vlivanov, psandoz, shade
2016-09-12 13:23:07 +02:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00
Patrick Reinhart
5deb28b6a1 8161230: ClassLoader: add resource methods returning java.util.stream.Stream
Reviewed-by: psandoz, alanb, mchung, tvaleev
2016-09-09 14:54:41 -07:00
Paul Sandoz
caa7db4496 8165731: Reference to removed method in VarHandle JavaDoc
Reviewed-by: shade, bpb
2016-09-09 14:54:24 -07:00
Mandy Chung
397525a2d4 8165346: j.l.ClassLoader.getDefinedPackage(String) throws NPE
Reviewed-by: alanb, lancea, shade
2016-09-09 13:44:48 -07:00
Kim Barrett
4f08176bb5 8165393: bad merge in java/lang/ref/package-info.java
Added the missing change.

Reviewed-by: rriggs
2016-09-09 16:24:24 -04:00
Stuart Marks
e249470c72 4285505: deprecate java.lang.Compiler
Reviewed-by: shade, forax, kmo, tellison, mchung, alanb, rriggs
2016-09-09 12:07:49 -07:00
Joe Darcy
d14725c1ad 8039854: Broken link in java.lang.RuntimePermission
Reviewed-by: lancea
2016-09-08 14:23:45 -07:00
Mandy Chung
37ff205c8a 8165563: ClassLoader::getSystemClassLoader will never be null
Reviewed-by: alanb, dholmes, psandoz
2016-09-08 09:45:50 -07:00
Stuart Marks
b5f85932d6 8165636: add removal text to Runtime.traceInstructions/MethodCalls deprecation text
Reviewed-by: iris, darcy, mchung
2016-09-07 14:59:55 -07:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Paul Sandoz
82d48917bb 8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd

Reviewed-by: shade, redestad
2016-09-01 10:16:57 -07:00
Kim Barrett
7bddef3ed0 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:46:02 -04:00
Vivek Deshpande
1a188cf07a 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:20:09 -07:00
Claes Redestad
1a404080ee 8163371: Enable tracing which JLI classes can be pre-generated
Reviewed-by: vlivanov
2016-08-26 16:16:09 +02:00
Claes Redestad
92d448522a 8164739: Remove computation of predefined interpreter forms
Reviewed-by: vlivanov
2016-08-25 13:29:47 +02:00
Claes Redestad
60754ca0fb 8164569: Generate non-customized invoker forms at link time
Reviewed-by: vlivanov
2016-08-24 16:11:21 +02:00
Claes Redestad
5431436909 8164483: Generate field lambda forms at link time
Reviewed-by: vlivanov
2016-08-24 16:09:34 +02:00
Brent Christian
496a6f67d6 7180225: SecurityExceptions not defined in some class loader methods
Reviewed-by: mchung, mullan
2016-08-23 10:49:15 -07:00
Joe Darcy
d6dfc0bef3 8164524: Correct inconsistencies in floating-point abs spec
Reviewed-by: martin, bpb
2016-08-22 17:22:09 -07:00
Claes Redestad
86a27697b7 8164525: Re-examine zero form link time pre-generation
Reviewed-by: vlivanov, forax
2016-08-22 12:57:43 +02:00
Peter Levart
b0aa08888c 8164547: Make java.lang.reflect.ClassLoaderValue public for internal use
Move it to jdk.internal.loader and make it public

Reviewed-by: shade, alanb
2016-08-22 13:16:51 +02:00
Claes Redestad
069573f635 8164485: Zero forms not properly generated
Reviewed-by: psandoz
2016-08-19 17:46:44 +02:00
Claes Redestad
4316d705f2 8164451: Generate all zero and identity forms at link time
Reviewed-by: shade, mhaupt, vlivanov
2016-08-19 13:50:03 +02:00
Michael Haupt
22e95f995a 8164102: MethodHandles.countedLoop/4 works incorrect for start/end = Integer.MAX_VALUE
Reviewed-by: redestad
2016-08-19 10:03:43 +02:00
Claes Redestad
9dcafe04f0 8164044: Generate corresponding simple DelegatingMethodHandles when generating a DirectMethodHandle at link time
Reviewed-by: vlivanov, mhaupt, shade
2016-08-18 19:00:39 +02:00