705 Commits

Author SHA1 Message Date
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
Yuka Kamiya
e5b7cbe7d2 8026766: Add toString() to j.u.Locale.LanguageRange
Reviewed-by: okutsu
2016-01-15 14:33:11 +09:00
Alejandro Murillo
92c707e680 Merge 2016-01-14 20:57:33 -08:00
Michael Haupt
d64d6d8662 8147078: MethodHandles.catchException does not enforce Throwable subtype
Reviewed-by: psandoz, sundar
2016-01-14 13:53:13 +01:00
Sean Mullan
717c4699a8 Merge 2016-01-13 10:25:41 -05:00
Sean Mullan
40987b7c03 8085903: New fix for memory leak in ProtectionDomain cache
Reviewed-by: xuelei, igerasim
2016-01-13 09:39:26 -05:00
Chris Hegarty
ed581c190a 8146736: Move sun.misc performance counters to jdk.internal.perf
Reviewed-by: alanb, mchung, rriggs
2016-01-13 14:32:42 +00:00
Alejandro Murillo
70a4694f73 Merge 2016-01-12 11:31:48 -08:00
Nadeesh TV
a67a5265d3 8068803: Performance of LocalDate.plusDays could be better
Reviewed-by: rriggs, scolebourne
2016-01-11 11:39:12 -05:00
Roger Riggs
5f559c6d31 8146028: Common Cleaner for finalization replacements in OpenJDK
Reviewed-by: dfuchs, alanb, chegar, plevart
2016-01-11 10:03:36 -05:00
Claes Redestad
79ef0bb994 8146686: Create the schemeSpecificPart for non-opaque URIs lazily
Reviewed-by: alanb, chegar
2016-01-10 14:14:13 +01:00
Brent Christian
a75216a09c 8144552: java/lang/StackWalker/LocalsAndOperands.java fails with java.lang.NullPointerException
Update test case to expect null

Reviewed-by: mchung, dfuchs
2016-01-08 13:14:30 -08:00
Daniel Fuchs
7ec6ed7ce4 8146691: @since 9 tag missing for System.getLogger
Reviewed-by: chegar
2016-01-08 17:39:00 +01:00
Joseph Provino
32ec535805 Merge 2016-01-07 20:06:51 +00:00
Tobias Hartmann
cdd6aa5d50 Merge 2016-01-06 08:02:24 +01:00
Alejandro Murillo
8f53087d6e Merge 2016-01-05 13:08:05 -08:00
Nadeesh TV
e49fa68b05 8146489: @since tag missed
Reviewed-by: lancea, rriggs
2016-01-05 14:33:35 -05:00
Naoto Sato
3f8548453c 8039301: [ja] Host Locale Provider uses non-translated Calendar field names
8039969: Old Korean Calendar conflicts with Host Locale
8049835: [ar/HOST adapter] Hijri calendar era is used but date number follows gregorian
8054010: [HOST provider, not gregory] Return NULL when calling Calendar.getDisplayNames for Calendar.ERA
8054482: [HOST provider] only return standalone-style month display name
8055258: [HOST provider] Short era display name is not returned

Reviewed-by: okutsu
2016-01-05 10:15:54 -08:00
Nadeesh TV
2cfdb95251 8145166: Duration.toString violates specification
Correct Duration.toString method

Reviewed-by: rriggs, scolebourne
2016-01-05 10:09:48 -05:00
Xueming Shen
9b77da0f46 8146431: j.u.z.ZipFile.getEntry("") throws AIOOBE
Reviewed-by: lancea
2016-01-04 14:34:53 -08:00
Joseph Provino
a02ddb869a Merge 2016-01-01 17:08:24 +00:00
Kim Barrett
08dadf3015 8071507: (ref) Clear phantom reference as soft and weak references do
GC clears phantom refs on notification; update spec accordingly.

Reviewed-by: mchung, jmasa
2015-12-28 14:03:39 -05:00
Ramanand Patil
c31b3a5e83 8145388: URLConnection.guessContentTypeFromStream returns image/jpg for some JPEG images
Since "image/jpg" is not a valid Content Type, the method should return "image/jpeg" when APPn marker segment has 'EE' as a marker type.

Reviewed-by: prr, bpb
2015-12-25 16:45:15 +03:00
Ramanand Patil
c6d209b505 8066982: ZonedDateTime.parse() returns wrong ZoneOffset around DST fall transition
In Parsed.java the method resolveInstant() is altered such that, the offset (if present) will be given priority over zone.

Reviewed-by: rriggs, scolebourne
2015-12-25 16:43:37 +03:00