1160 Commits

Author SHA1 Message Date
Claes Redestad
2cee0a499a 8166840: Synthetic bridge constructor in ArrayList$Itr blocks inlining
Reviewed-by: vlivanov, mhaupt, forax
2016-09-28 14:27:34 +02: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
Dean Long
c329dba540 Merge 2016-09-27 21:14:47 -04:00
Doug Lea
c7cf1788ed 8165919: Miscellaneous changes imported from jsr166 CVS 2016-09-21
Reviewed-by: martin, chegar, shade
2016-09-23 13:24:33 -07:00
Doug Lea
9496149e05 8166465: CompletableFuture.minimalCompletionStage().toCompletableFuture() should be non-minimal
Reviewed-by: martin, chegar, shade
2016-09-23 13:14:14 -07: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
Alejandro Murillo
505c0d04f8 Merge 2016-09-21 09:29:30 -07:00
Dean Long
14ca581abf Merge 2016-09-20 16:34:47 -04:00
Nishit Jain
14d689c4a6 8165984: ResourceBundle lookup fields not completely thread-safe
Reviewed-by: okutsu, naoto
2016-09-18 23:09:37 +09: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
Steve Drach
375fe9b50c 8163798: Create a JarFile versionedStream method
Reviewed-by: mchung, psandoz, redestad
2016-09-13 13:55:35 -07:00
Doug Lea
60cd28abd7 8164169: Miscellaneous changes imported from jsr166 CVS 2016-09
Reviewed-by: martin, psandoz, shade
2016-09-12 13:14:49 -07:00
Doug Lea
d7f3695a90 8164983: Improve CountedCompleter code samples; add corresponding tests
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -07:00
Claes Redestad
2ac4d6a7d3 8165723: JarFile::isMultiRelease() method returns false when it should return true
Reviewed-by: alanb
2016-09-12 17:45:55 +02: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
a7dd7b59da 8164691: Stream specification clarifications for iterate and collect
Reviewed-by: briangoetz, smarks, tvaleev
2016-09-09 14:54:29 -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
Ivan Gerasimov
b7edd5f9aa 8165413: Typos in javadoc: extra period, wrong number, misspelled word
Reviewed-by: weijun, mullan
2016-09-07 10:14:48 +03:00
Stuart Marks
97fa8cd04e 8159404: throw UnsupportedOperationException unconditionally for mutator methods
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Ivan Gerasimov
164b17df5b 8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03: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
Mandy Chung
b5172ce65e 8165180: Provide a shared secret to access non-public ServerSocket constructor
Reviewed-by: chegar
2016-08-31 15:20:31 -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
Svetlana Nikandrova
f894a28859 8005068: HttpCookie does not correctly handle negative maxAge values
Reviewed-by: chegar
2016-08-25 20:53:40 +03: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
Doug Lea
4c999ed180 8163353: NPE in ConcurrentHashMap.removeAll()
Reviewed-by: martin, psandoz, redestad, alanb
2016-08-24 12:50:37 -07: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
Claes Redestad
338343e0e1 8164669: Lazier initialization of java.time
Reviewed-by: scolebourne, chegar, alanb
2016-08-24 13:54:17 +02:00
Steve Drach
3a04923cad 8164585: JarFile::isMultiRelease does not return true in all cases where it should return true
Reviewed-by: alanb, psandoz
2016-08-23 11:26:41 -07: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
Ivan Gerasimov
1487578b08 8164366: ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
Reviewed-by: scolebourne, ntv, coffeys
2016-08-22 22:16:54 +03: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