506 Commits

Author SHA1 Message Date
Paul Sandoz
ca77f42179 8170155: StringBuffer and StringBuilder stream methods are not late-binding
Reviewed-by: sherman
2016-12-01 17:52:59 -08:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Paul Sandoz
7e58564540 8168745: Iterator.forEachRemaining vs. Iterator.remove
Reviewed-by: martin, smarks
2016-11-30 17:15:58 -08:00
Shilpi Rastogi
3e6e13dece 8133719: java.lang.InternalError in java.lang.invoke.MethodHandleImpl$BindCaller.bindCaller
Reviewed-by: psandoz
2016-11-29 01:06:10 -08:00
Joe Darcy
fc2f422623 8169479: java.lang.reflect.Constructor class has wrong api documentation
Reviewed-by: bpb, psandoz
2016-11-23 11:05:10 -08:00
Brent Christian
20c0c1d9d0 8136831: Undefined null behavior in ClassLoader.getResourceXXXX()
Reviewed-by: alanb, mchung, psandoz
2016-11-23 10:41:25 -08:00
Paul Sandoz
11b92f7ddb 8169808: Stream returning methods should specify if they are late binding
Reviewed-by: martin
2016-11-23 10:35:43 -08:00
Brent Christian
36ffe056e1 8169435: ClassLoader.isParallelCapable is final and conflicting method may get VerifyError
Reviewed-by: acorn, dholmes, mchung
2016-11-23 10:34:10 -08:00
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Claes Redestad
709d9ee9d0 8169993: Class::desiredAssertionStatus should call getClassLoader0
Reviewed-by: psandoz
2016-11-19 12:22:35 +01:00
Claes Redestad
09591861d0 8169880: Remove the sun.reflect.noCaches option
Reviewed-by: shade, psandoz, mchung
2016-11-17 19:38:14 +01:00
Mandy Chung
d74e2a09ac 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:28 -07:00
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
Paul Sandoz
ff33d165a6 8163553: java.lang.LinkageError from test java/lang/ThreadGroup/Stop.java
Reviewed-by: redestad
2016-11-01 17:20:45 -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
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -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