839 Commits

Author SHA1 Message Date
Alejandro Murillo
20665191e3 Merge 2015-11-27 11:44:20 -08:00
Tobias Hartmann
4dd2fac63c 8142303: C2 compilation fails with "bad AD file"
Move range checks into intrinsics for String methods.

Reviewed-by: kvn, aph
2015-11-27 09:37:33 +01:00
Doug Lea
7dcef1554f 8143087: Miscellaneous changes imported from jsr166 CVS 2015-11
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 19:45:15 -08:00
Doug Lea
4f79cf98f7 8139574: ReentrantReadWriteLock documentation example has compile time error
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:51:06 -08:00
Doug Lea
a5fdc4aef7 8143086: Document that ForkJoinWorkerThreadFactory.newThread can return null to reject request
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:24:21 -08:00
Doug Lea
777901e994 8143073: Improve documentation for ConcurrentHashMap serialized form
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:18:28 -08:00
Doug Lea
6c32c063cf 8140587: Atomic*FieldUpdaters should use Class.isInstance instead of direct class check
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:12:38 -08:00
Michael Haupt
063afcee2f 8143798: jck failures: api/java_lang/invoke/MethodHandle/index_MethodsTests[asSpreaderWMTE]: java.lang.VerifyError: Bad type on operand stack
Reviewed-by: vlivanov
2015-11-25 09:23:07 +01:00
Mandy Chung
6c2e3ff586 8143967: The stream state check should handle unsigned anchor value
Reviewed-by: dfuchs, dcubed, coleenp, sspitsyn
2015-11-24 15:30:58 -08:00
Mandy Chung
eb2c6c52bb 8143911: Reintegrate JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-24 15:05:58 -08:00
Christian Tornqvist
a45dc82702 Merge 2015-11-24 18:32:38 +00:00
Christian Tornqvist
557f4f366f 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:32 -08:00
Chris Hegarty
a5f7704c26 8140687: Move @Contended to the jdk.internal.vm.annotation package
Reviewed-by: alanb, dholmes, psandoz, shade
2015-11-24 11:50:20 +00:00
Aleksey Shipilev
7fafbde248 8136500: Integer/Long getChars and stringSize should be more idiomatic
Reviewed-by: igerasim, sherman, psandoz, jrose
2015-11-24 19:02:33 +03:00
Naveen Kumar
0138e1fe6e 8073211: javadoc of Format parseObject methods should specify NullPointerExceptions
Reviewed-by: naoto, peytoia, okutsu
2015-11-24 13:22:00 +09:00
Mandy Chung
500a73cdb1 8140450: Implement JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-23 12:44:50 -08:00
Xueming Shen
f9fa8afa11 8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected)
Reviewed-by: thartmann
2015-11-23 10:36:15 -08:00
Nils Eliasson
affbf9c6bd Merge 2015-11-23 11:07:36 +01:00
Daniel Fuchs
bd8942b7a1 8140364: JEP 264 Platform Logger API and Service Implementation
Initial implementation for JEP 264 Platform Logger API and Service

Reviewed-by: mchung, psandoz, rriggs
2015-11-20 19:26:16 +01:00
Michael Haupt
5b2c88e28a 8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov
2015-11-20 15:34:12 +01:00
Weijun Wang
a7d92d59f9 8056174: New APIs for jar signing
Reviewed-by: mullan
2015-11-20 08:34:04 +08:00
Iris Clark
b1b246fa7b Merge 2015-11-19 14:00:49 -08:00
Xueming Shen
969487d380 8143330: Two implementation methods of AbstractStringBuilder are mistakenly declared as "protected" in JDK9b93
Reviewed-by: darcy, alanb
2015-11-19 12:57:59 -08:00
Claes Redestad
e9b75962b3 8143232: Fix java.lang.invoke bootstrap when specifying COMPILE_THRESHOLD
Reviewed-by: vlivanov
2015-11-18 17:39:40 +01:00
Iris Clark
6568d3457b Merge 2015-11-16 17:10:20 -08:00
Nils Eliasson
5f1eb58771 Merge 2015-11-16 20:37:22 +01:00
Doug Lea
81c502660b 8029574: TreeMap: optimization of method computeRedLevel()
Reviewed-by: martin, shade
2015-11-16 10:14:46 -08:00
Nadeesh TV
31f7efd560 8071919: Add java.time.Clock.tickMillis(ZoneId zone) method
Reviewed-by: dfuchs, rriggs, scolebourne
2015-11-17 11:06:46 -05:00
Nadeesh TV
b6d29b4f0b 8072746: LocalDate.isEra() should return IsoEra not Era
Reviewed-by: rriggs, scolebourne
2015-11-17 10:44:22 -05:00
Claes Redestad
42e4e0c06f 8143142: AssertionError in MethodHandleImpl
Reviewed-by: psandoz, vlivanov
2015-11-17 15:29:21 +01:00
Paul Sandoz
e3111f5d49 8142493: Utility methods to check indexes and ranges doesn't specify behavior when function produces null
Reviewed-by: lancea, rriggs, mchung
2015-11-17 14:11:46 +01:00
Paul Sandoz
c16c0e61c9 8141409: Arrays.equals accepting a Comparator
Reviewed-by: rriggs
2015-11-17 14:11:42 +01:00
Claes Redestad
5b5c2d0925 8142487: Cleanup sun.invoke.util.Wrapper zeroes to be both reliable and lazy
Reviewed-by: vlivanov, jrose
2015-11-17 12:43:09 +01:00
Claes Redestad
30545d614d 8142334: Improve lazy initialization of java.lang.invoke
Reviewed-by: psandoz, vlivanov, mhaupt
2015-11-17 11:51:45 +01:00
Roger Riggs
9322c398b5 8133079: java.time LocalDate and LocalTime ofInstant() factory methods
Reviewed-by: rriggs, scolebourne
2015-11-16 15:28:55 -05:00
Roland Westrelin
694262c33b 8042997: Make intrinsic some or all check index/range methods
Objects.checkIndex() intrinsic

Reviewed-by: psandoz, shade
2015-11-16 10:18:18 +01:00
Roger Riggs
2714bdae50 8132394: (process) ProcessBuilder support for a pipeline of processes
Reviewed-by: psandoz, alanb
2015-11-13 15:48:59 -05:00
Roger Riggs
bb5de762da 8141571: jdk/internal/jimage/JImageReadTest.java crashing in msvcr120.dll
Add asserts to diagnose

Reviewed-by: jlaskey
2015-11-13 12:00:23 -05:00
Nadeesh TV
09c0550556 8054978: java.time.Duration.parse() fails for negative duration with 0 seconds and nanos
Reviewed-by: rriggs, scolebourne
2015-11-13 11:52:56 -05:00
Brian Burkhalter
e5a6f24f64 8032027: Add BigInteger square root methods
Add sqrt() and sqrtAndReminder() using Newton iteration

Reviewed-by: darcy, lowasser
2015-12-10 17:47:26 -08:00
Chris Hegarty
edabf4afb3 8145082: Remove sun.misc.Unsafe dependency from sun.nio.cs.StringUTF16
Reviewed-by: psandoz, sherman
2015-12-10 10:04:41 +00:00
Xue-Lei Andrew Fan
e03cf9daf6 8136410: AlgorithmDecomposer is not parsing padding correctly
Reviewed-by: weijun
2015-12-10 06:09:36 +00:00
Nadeesh TV
7d2c07c70d 8142936: Add java.time.Duration methods for days, hours, minutes, seconds, etc
Reviewed-by: rriggs, scolebourne
2015-12-09 15:27:21 -05:00
Rachna Goel
ee046050d6 8025547: Locale.toString() documentation error
Updated API doc of Locale.toString method.

Reviewed-by: okutsu
2015-12-09 14:20:51 +05:30
Claes Redestad
d37bb2422b 8143127: InvokerBytecodeGenerator emitConst should handle Byte, Short, Character
Reviewed-by: vlivanov, shade, forax
2015-12-09 18:25:36 +01:00
Xue-Lei Andrew Fan
30655cc742 8141651: Deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: weijun
2015-12-09 10:36:33 +00:00
Stuart Marks
d42e70fc3c 8139232: JEP-269 initial API and skeleton implementations
Reviewed-by: psandoz, rriggs
2015-12-08 13:48:22 -08:00
Xueming Shen
b0e22f9603 8144958: changes by JDK-8142508 seems to have broken jtreg
Reviewed-by: darcy
2015-12-08 16:43:58 -08:00
Xueming Shen
44a8a73eb6 8142508: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk
Reviewed-by: coffeys
2015-12-08 09:25:01 -08:00
Alan Bateman
11e31407a5 8144210: Runtime.currentRuntime should be final
Reviewed-by: dl, dholmes
2015-11-29 20:27:38 +00:00