628 Commits

Author SHA1 Message Date
Aleksey Shipilev
ef5eb42e40 8150180: String.value contents should be trusted
Reviewed-by: vlivanov, redestad, jrose, twisti
2016-02-23 17:55:28 +03:00
Alejandro Murillo
d147a661d8 Merge 2016-02-18 15:19:41 -08:00
Jesper Wilhelmsson
a81de9e451 Merge 2016-02-18 18:07:47 +01:00
Aleksey Shipilev
6fe8f6f2f5 8149835: StringConcatFactory should emit classes with the same package as the host class
Reviewed-by: psandoz, alanb, mchung
2016-02-17 19:29:16 +03:00
Daniel D. Daugherty
4d0a1d0222 Merge 2016-02-16 12:09:11 -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
Roger Riggs
e4e9015254 8148775: Spec for j.l.ProcessBuilder.Redirect.DISCARD need to be improved
Reviewed-by: martin
2016-02-16 11:36:20 -05: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
Vladimir Ivanov
4458220d4a 8148994: Replacing MH::invokeBasic with a direct call breaks LF customization
Reviewed-by: jrose, redestad
2016-02-15 20:27:12 +03:00
Chris Hegarty
40965e0d6a 8134424: BlockDataInputStream.readUTFBody: size local StringBuffer with the given length
Reviewed-by: rriggs, shade
2016-02-15 14:25:21 +00:00
Chris Hegarty
7f68f6d847 8149656: Examine usages of sun.misc.LRUCache
Reviewed-by: redestad, rriggs
2016-02-15 10:14:39 +00:00
Chris Hegarty
8f6486a73b 8149653: Move sun.misc.InnocuousThread to jdk.internal.misc
Reviewed-by: mchung, rriggs
2016-02-15 10:13:21 +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
Roger Riggs
b16bb1267a 8142539: Incorrect definition of ZoneOffset.MIN
8140211: Example in the Documentation is wrong for java.time.ZonedDateTime.minusHours
8139529: java.time.temporal.ChronoUnit.FOREVER typo

Reviewed-by: lancea, scolebourne
2016-02-11 11:19:03 -05:00
Mikael Vidstedt
7f395c26ab 8141491: Unaligned memory access in Bits.c
Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory

Reviewed-by: jrose, dholmes, psandoz
2016-02-10 15:20:41 -08:00
Aleksey Shipilev
7bee07b465 8149459: StringConcatFactory should be synced up with LambdaMetafactory
Reviewed-by: psandoz, vlivanov, forax
2016-02-10 16:36:25 +03:00
Shilpi Rastogi
ff97659a79 8071368: Use more concrete types for NamedFunction constants in the code
Reviewed-by: psandoz, vlivanov, mhaupt
2016-02-10 11:04:13 +01:00
Shilpi Rastogi
3e45966cd3 8138884: MethodHandles.Lookup.findVirtual() Javadoc fails to consider private interface methods
Reviewed-by: psandoz, mhaupt
2016-02-10 10:44:58 +01:00
Anthony Scarpino
719c597241 8098581: SecureRandom.nextBytes() hurts performance with small size requests
Reviewed-by: valeriep
2016-02-08 13:09:16 -08:00
Brian Burkhalter
0d7421752a 8064466: (fs spec) Files.readAttributes(Path, String, LinkOption...) not clear when called with zero attributes
Change specification to indicate "one or more" instead of "zero or more" attributes.

Reviewed-by: alanb
2016-02-08 10:46:42 -08:00
Shilpi Rastogi
e49c2412cb 8138578: MethodHandles.Lookup.findSpecial() Javadoc fails to consider static methods
Reviewed-by: psandoz, vlivanov, mhaupt
2016-02-08 17:37:46 +01:00
Nadeesh TV
3795972295 8146747: java.time.Duration.toNanos() and toMillis() exception on negative durations
Reviewed-by: rriggs, scolebourne
2016-02-08 09:56:26 -05: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
Brian Burkhalter
0ee02dbd71 8148821: (fs) Path.getParent() javadoc error
Change "If this path has one or more elements" to "If this path has more than one element."

Reviewed-by: rriggs, alanb
2016-02-03 13:34:19 -08:00
Aleksey Shipilev
68d21c3b1e 8148869: StringConcatFactory MH_INLINE_SIZED_EXACT strategy does not work with -XX:-CompactStrings
Reviewed-by: vlivanov, psandoz
2016-02-03 00:49:41 +03:00
Chris Hegarty
64b292668e Merge 2016-02-02 17:20:53 +00: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
Aleksey Shipilev
454df89b32 8148787: StringConcatFactory exactness check produces bad bytecode when a non-arg concat is requested
Reviewed-by: vlivanov, psandoz
2016-02-02 18:15:15 +03:00
Chris Hegarty
5765b5b4f0 8148117: Move sun.misc.Cleaner to jdk.internal.ref
Reviewed-by: alanb, rriggs
2016-02-02 08:59:52 +00:00
Tagir F. Valeev
c2f738c53d 8146218: Add LocalDate.datesUntil method producing Stream<LocalDate
Reviewed-by: scolebourne, rriggs, sherman
2016-02-01 10:02:40 -05:00
Aleksey Shipilev
ad776ff126 8148730: Add @since tags in new String concat APIs
Reviewed-by: alanb
2016-02-01 15:11:50 +03:00
Claes Redestad
9102b6eb21 8148626: URI.toURL needs to use protocol Handler to parse file URIs
Back out the parts of 8147462 that attempted to optimize file URI to URL conversions

Reviewed-by: darcy, chegar
2016-01-31 22:30:35 +01: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
Claes Redestad
7ae729a77f 8147462: URI.toURL could be more efficient for most non-opaque URIs
Reviewed-by: alanb, chegar
2016-01-29 11:35:56 +01:00
Aleksey Shipilev
c7a7ba0e1e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:05 +03: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
e9df200123 8147962: URL should handle lower-casing of protocol locale-independently
Reviewed-by: chegar, alanb, naoto
2016-01-27 13:51:35 +01:00
Brian Burkhalter
7b678f7571 8148121: Typo in API , FileOwnerAttributeView.getOwner() and FileOwnerAttributeView.setOwner()
"It it" -> "It is"

Reviewed-by: sherman
2016-01-26 15:30:42 -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
Mark Sheppard
72e0832da6 8059054: Better URL processing
Reviewed-by: chegar, rriggs, ahgross, coffeys, igerasim
2015-07-29 13:42:56 +01:00
Alejandro Murillo
5bb28e9381 Merge 2016-01-18 20:22:13 -08:00
Svetlana Nikandrova
c100bda1b5 8143554: UnsupportedOperationException is not thrown for unsupported options
Reviewed-by: alanb
2016-01-16 00:27:53 +03:00