249 Commits

Author SHA1 Message Date
Martin Buchholz
2bb441c404 8157069: Assorted ZipFile improvements
Reviewed-by: sherman
2016-05-16 11:42:31 -07:00
Alejandro Murillo
ffaebaa66e Merge 2016-05-17 05:38:15 -07:00
Paul Sandoz
00883c0dc9 8154049: DualPivot sorting calculates incorrect runs for nearly sorted arrays
Reviewed-by: shade
2016-05-16 07:01:26 +02:00
Alejandro Murillo
7a3decd3a2 Merge 2016-05-14 09:11:07 -07:00
Xueming Shen
b45ea8903e 6328855: String: Matches hangs at short and easy Strings containing \r \n
6192895: java.util.regex.Matcher: Performance issue
6345469: java.util.regex.Matcher utilizes 100% of the CPU
6988218: RegEx matcher loops
6693451: RegEx matcher goes into infinite delay
7006761: Matcher.matches() has infinite loop
8140212: Slow performance of Matcher.find
8151481: j.u.regex.Pattern cleanup
6609854: Regex does not match correctly for negative nested character classes
4916384: CANON_EQ supports only combining character sequences with non-spacing marks
4867170: Pattern doesn't work with composite character in CANON_EQ mode
6995635: CANON_EQ pattern flag is buggy
6728861: ExceptionInInitializerError is caught when the pattern has precomposed character
6736245: A character in Composition Exclusion Table does not match itself
7080302: the normalization in java regex pattern may have flaw

Reviewed-by: rriggs, okutsu, alanb
2016-05-10 21:19:25 -07:00
Ivan Gerasimov
fcf085c678 8156661: Handful of typos in javadoc
Reviewed-by: prappo, rriggs
2016-05-10 17:16:55 +03:00
Vladimir Ivanov
8761e88b55 Merge 2016-05-09 12:39:41 +03:00
Nishit Jain
880dc078b3 8154295: Currency iso code is int and hence looses the preceeding zero
Reviewed-by: naoto, okutsu, peytoia
2016-05-09 17:46:28 +09:00
Stuart Marks
b4192cdebc 8139233: add initial compact immutable collection implementations
Reviewed-by: plevart, forax, dfuchs, chegar, alanb, scolebourne
2016-05-06 11:33:32 -07:00
Vladimir Ivanov
905fb139d7 Merge 2016-05-06 18:21:41 +03:00
Paul Sandoz
3d8d9fe7fa 8155794: Move Objects.checkIndex BiFunction accepting methods to an internal package
Reviewed-by: chegar, shade, forax, vlivanov
2016-05-05 18:14:47 -07:00
Steve Drach
35e6b00ee0 8151542: URL resources for multi-release jar files have a #runtime fragment appended to them
Reviewed-by: alanb, chegar, psandoz, sherman
2016-05-02 09:03:38 -07:00
Joe Darcy
01ee88c8ae 6850612: Deprecate Class.newInstance since it violates the checked exception language contract
Reviewed-by: lancea, mullan, dfuchs
2016-05-03 10:40:54 -07:00
Claes Redestad
e8cd76568d 8155775: Re-examine naming of privileged methods to access System properties
Reviewed-by: mullan
2016-05-03 15:50:54 +02:00
Alan Bateman
44790114ee Merge 2016-05-03 11:45:56 +01:00
Alan Bateman
36e0820801 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Tagir F. Valeev
53420d6516 8154387: Parallel unordered Stream.limit() tries to collect 128 elements even if limit is less
Reviewed-by: psandoz
2016-04-29 16:58:00 -07:00
Tagir F. Valeev
3ccd7f2289 8153293: Preserve SORTED and DISTINCT characteristics for boxed() and asLongStream() operations
Reviewed-by: psandoz
2016-04-29 16:57:57 -07:00
Tagir F. Valeev
6db653621d 8155600: Performance optimization of Arrays.asList().iterator()
Reviewed-by: redestad, shade, plevart, attila
2016-04-29 16:52:05 +03:00
Stuart Marks
93a8bd3843 8154801: deprecate Observer and Observable
Reviewed-by: darcy
2016-04-28 14:29:09 -07:00
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