229 Commits

Author SHA1 Message Date
Claes Redestad
2b5207e74d 8154231: Simplify access to System properties from JDK code
Reviewed-by: rriggs, chegar, weijun
2016-04-21 13:39:53 +02:00
Stuart Marks
ba908a9037 8145468: update java.lang APIs with new deprecations
Reviewed-by: alanb, psandoz, lancea, forax, scolebourne, chegar, martin
2016-04-18 14:10:14 -07:00
Chris Hegarty
07cdc33e34 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01:00
Paul Sandoz
87c6cee72e 8146458: Improve exception reporting for Objects.checkIndex/checkFromToIndex/checkFromIndexSize
Reviewed-by: jrose, smarks
2016-04-13 15:05:50 +02:00
Steve Drach
f767b8ce19 8153213: Jar manifest attribute "Multi-Release" accepts any value
Reviewed-by: psandoz, redestad
2016-04-12 18:25:10 +02:00
Nishit Jain
3fd42e1ad4 7129443: (cal) Difference between comment and implementation of DAY_OF_WEEK_IN_MONTH
Reviewed-by: okutsu, peytoia
2016-04-08 14:35:35 +09:00
Doug Lea
c35f79810f 8151579: Optimize ConcurrentHashMap.Node
Reviewed-by: martin, psandoz, forax
2016-04-07 10:12:08 -07:00
Doug Lea
8251bcfb71 8152433: Typo in interface Deque javadocs
Reviewed-by: martin, psandoz, forax
2016-04-07 10:01:36 -07:00
Doug Lea
fb58fda736 8152924: Improve scalability of CompletableFuture with large number of dependents
Reviewed-by: martin, psandoz
2016-04-07 09:57:08 -07:00
Alejandro Murillo
e380336101 Merge 2016-03-31 14:25:38 -07:00
Ivan Gerasimov
763f4898ff 8079136: Accessing a nested sublist leads to StackOverflowError
Reviewed-by: psandoz, tvaleev
2016-03-31 17:30:31 +03:00
Chris Hegarty
3c06ea62d8 8152190: Move sun.misc.JarIndex and InvalidJarIndexException to an internal package
Reviewed-by: alanb
2016-03-31 06:23:43 +01:00
Masayoshi Okutsu
b09c81ce39 8152077: (cal) Calendar.roll does not always roll the hours during daylight savings
Reviewed-by: peytoia
2016-03-29 18:04:41 +09:00
Claes Redestad
996686aae0 8152733: Avoid creating Manifest when checking for Multi-Release attribute
Co-authored-by: Steve Drach <steve.drach@oracle.com>
Reviewed-by: psandoz, alanb
2016-03-28 22:25:32 +02:00
Doug Lea
837a779be8 8152083: Optimize TimeUnit conversions
Reviewed-by: martin, shade, forax
2016-03-28 08:53:39 -07:00
Aleksey Shipilev
1d963af553 8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
Reviewed-by: kvn, psandoz, dl
2016-03-25 15:35:43 +03:00
Chris Hegarty
3dd92e7102 Merge 2016-03-22 16:02:32 +00:00
Tagir F. Valeev
89599944c6 8148748: ArrayList.subList().spliterator() is not late-binding
Reviewed-by: psandoz
2016-03-22 16:28:52 +01:00
Tagir F. Valeev
41786c2118 8151123: Collectors.summingDouble/averagingDouble unnecessarily call mapper twice
Reviewed-by: psandoz
2016-03-22 16:28:50 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Sergey Ustimenko
f36012af70 8043329: Wrong variable used in java.util.Collections javadoc code
Reviewed-by: lancea, rriggs
2016-03-10 09:35:59 -05:00
Chris Hegarty
bd69ca08d2 8151384: Improve String.CASE_INSENSITIVE_ORDER and remove sun.misc.ASCIICaseInsensitiveComparator
Reviewed-by: shade, sherman
2016-03-08 12:11:07 +00:00
Hamlin Li
569de7b0ea 8151785: Doc typo in src/../java/util/stream/PipelineHelper.java
Change from "intoWrapped" to "copyInto".

Reviewed-by: rriggs
2016-03-15 12:38:35 +08:00
Abhijit Roy
c6a6f496a8 8151062: Unclosed parenthesis in java.util.EnumMap.clone() Javadoc
Reviewed-by: rriggs
2016-03-12 00:58:39 +05:30
Steve Drach
da10efd829 8150679: closed/javax/crypto/CryptoPermission/CallerIdentification.sh fails after fix for JDK-8132734
Also fixes JDK-8150920

Reviewed-by: psandoz, redestad
2016-03-03 09:47:40 -08:00
Doug Lea
a9c908bcb3 8150417: Make ThreadLocalRandom more robust against static initialization cycles
Reviewed-by: martin, psandoz, dholmes, mhaupt
2016-03-03 10:39:34 -08:00
Tagir F. Valeev
c880124c81 8147505: BaseStream.onClose() should not allow registering new handlers after stream is consumed
Reviewed-by: psandoz
2016-03-03 10:06:25 +01:00
Tagir F. Valeev
90adb4174f 8072727: add variation of Stream.iterate() that's finite
Reviewed-by: psandoz, briangoetz
2016-03-03 10:06:16 +01:00
Chris Hegarty
645c21e16f 8150976: JarFile and MRJAR tests should use the JDK specific Version API
Reviewed-by: alanb, mchung
2016-03-02 16:25:29 +00:00
Steve Drach
4054254344 8132734: JDK 9 runtime changes to support multi-release jar files
JEP 238 Multi-Release JAR Files runtime support

Reviewed-by: alanb, psandoz, sherman
2016-02-15 17:47:53 -08:00
Nishit Jain
28d990ee6f 8074411: Describe "minor unit" and/or "default fraction digits" in Currency class' javadoc clearly
Reviewed-by: naoto, okutsu, peytoia
2016-02-23 17:09:46 +09:00
Doug Lea
2b446bf074 8150014: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java fails with NoClassDefFoundError
Reviewed-by: martin, psandoz, darcy, mhaupt, dholmes
2016-02-20 12:19:36 -08:00
Doug Lea
eb6ab98ebc 8145485: Miscellaneous changes imported from jsr166 CVS 2016-02
Reviewed-by: martin, psandoz, chegar
2016-02-16 09:52:49 -08:00
Doug Lea
1e1ba84461 8139927: Improve documentation for CompletableFuture composition
8143089: CompletableFuture.whenComplete should use addSuppressed

Reviewed-by: martin, psandoz, chegar, plevart
2016-02-16 09:49:14 -08:00
Joe Darcy
a188f9045f 8149896: Remove unnecessary values in FloatConsts and DoubleConsts
Reviewed-by: shade, psandoz, lbourges, mduigou
2016-02-16 09:09:31 -08:00
Xueming Shen
05ca3c971e 8135108: java/util/zip/TestLocalTime.java fails intermittently with Invalid value for NanoOfSecond
Reviewed-by: darcy
2016-02-15 18:41:23 -08:00
Chris Hegarty
7f68f6d847 8149656: Examine usages of sun.misc.LRUCache
Reviewed-by: redestad, rriggs
2016-02-15 10:14:39 +00:00
Xueming Shen
0072af1be6 7071819: To support Extended Grapheme Clusters in Regex
8147531: To add named character construct \N{...} to support Unicode name property

Reviewed-by: naoto, okutsu, plevart
2016-02-12 19:24:31 -08:00
Tagir F. Valeev
0e250ec504 8148838: Stream.flatMap(...).spliterator() cannot properly split after tryAdvance()
Reviewed-by: psandoz
2016-02-08 15:33:53 +01:00
Tagir F. Valeev
e41fea88e7 8148115: Stream.findFirst for unordered source optimization
Reviewed-by: psandoz
2016-02-08 10:40:00 +01:00
Tagir F. Valeev
9e65963f4f 8148250: Stream.limit() parallel tasks with ordered non-SUBSIZED source should short-circuit
Reviewed-by: psandoz
2016-02-08 10:37:37 +01:00
Aleksey Shipilev
24816037ab 8148936: Adapt UUID.toString() to Compact Strings
Reviewed-by: igerasim, redestad
2016-02-04 16:00:48 +03:00
Nadeesh TV
6d4368a7cb 8141452: Convert between TimeUnit and ChronoUnit
Reviewed-by: martin, psandoz, chegar, rriggs, scolebourne
2016-02-02 08:53:49 -08:00
Doug Lea
7f6a9e3180 8145164: Default implementation of ConcurrentMap::compute can throw NPE
Reviewed-by: martin, psandoz, chegar
2016-01-29 11:49:37 -08:00
Doug Lea
47e7f9dcdc 8144305: documentation of Queue interface contains reference to LinkedBlockingQueue twice in 'See Also' section
Reviewed-by: martin, psandoz, chegar
2016-01-29 11:48:00 -08:00
Martin Buchholz
b9d758e600 8148174: NegativeArraySizeException in Vector.grow(int)
Improve management of internal array

Reviewed-by: smarks, forax
2016-01-25 16:07:00 -08:00
Claes Redestad
60134cc040 8148044: Remove Enum[0] constants from EnumSet and EnumMap
Reviewed-by: alanb, chegar, shade, smarks
2016-01-25 12:23:55 +01:00
Martin Buchholz
0e9196c50f 8146568: NegativeArraySizeException in ArrayList.grow(int)
Improve management of internal array

Reviewed-by: smarks
2016-01-08 19:53:36 -08:00
Iris Clark
9d07dc02e1 8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea, prr
2016-01-20 11:02:36 -08:00