594 Commits

Author SHA1 Message Date
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
Nadeesh TV
6a9a5a80ea 8143413: add toEpochSecond methods for efficient access
Reviewed-by: rriggs, scolebourne
2015-12-23 13:19:58 -05:00
Christian Thalinger
32aff4400c Merge 2015-12-22 13:41:12 -08:00
Christian Thalinger
48e2ec8057 Merge 2015-12-18 10:00:55 -08:00
Alejandro Murillo
a14aea12fc Merge 2015-12-18 09:37:18 -08:00
Chris Hegarty
7f221493d8 8146000: Remove sun.mics.CompoundEnumeration
Reviewed-by: coffeys, shade
2015-12-22 21:32:29 +00:00
Claes Redestad
c6afc47fc1 8145862: Improve lazy initialization of fields in java.net.URI
Reviewed-by: shade, chegar
2015-12-22 19:14:47 +01:00
Claes Redestad
22df7c453f 8145988: Use the raw methods of java.net.URI when possible
Reviewed-by: shade, chegar
2015-12-22 16:42:16 +01:00
Chris Hegarty
7e4d56677d 8145990: Move sun.misc math support classes to jdk.internal.math
Reviewed-by: bpb, darcy
2015-12-22 12:17:25 +00:00
David Buck
cbba70caa3 Merge 2015-12-21 21:14:19 +01:00
Claes Redestad
5f1918e76e 8145680: Remove unnecessary explicit initialization of volatile variables in java.base
Reviewed-by: alanb, chegar, jfranck, shade
2015-12-21 20:54:00 +01:00
Roger Riggs
197207b152 8138696: java.lang.ref.Cleaner - an easy to use alternative to finalization
Reviewed-by: mchung, mr, chegar, plevart, kbarrett, dholmes
2015-12-21 11:34:14 -05:00