503 Commits

Author SHA1 Message Date
Xueming Shen
e1bffce5a3 8200172: String.split non-positive term incorrect use
Reviewed-by: darcy, lancea
2018-05-23 08:49:00 -07:00
Doug Lea
96814f7a28 8201386: Miscellaneous changes imported from jsr166 CVS 2018-05
Reviewed-by: martin, psandoz
2018-05-22 21:50:45 -07:00
Doug Lea
e4046542ba 8202685: Optimize ArrayList subList replaceAll
Reviewed-by: martin, psandoz, igerasim, redestad, dholmes, smarks, jrose, plevart
2018-05-22 21:46:51 -07:00
Brian Burkhalter
c9e23b5e71 8202076: test/jdk/java/io/File/WinSpecialFiles.java on windows with VS2017
If all other means to obtain the file length fail, fall back to FindFirstFile

Reviewed-by: igerasim, alanb
2018-05-22 16:19:31 -07:00
Jim Laskey
60de3c902e 8200380: String::lines
Reviewed-by: sundar, sherman, rriggs, psandoz
2018-05-22 12:04:05 -03:00
Claes Redestad
55ba3cad8b 8203352: Improve java implementation of Integer/Long.numberOfLeadingZeros
Co-authored-by: Ivan Gerasimov <ivan.gerasimov@oracle.com>
Reviewed-by: martin, igerasim
2018-05-22 14:44:18 +02:00
Valerie Peng
9e8d9fe1ee 8146293: Add support for RSASSA-PSS Signature algorithm
Add RSASSA-PSS key and signature support to SunRsaSign provider

Reviewed-by: wetmore
2018-05-21 23:40:52 +00:00
Ivan Gerasimov
ee601ac627 8203279: Faster rounding up to nearest power of two
Reviewed-by: martin, redestad
2018-05-21 12:49:03 -07:00
Adam Farley
281e575907 8203487: Typo in ICUBinary.java: s/Magin/Magic/
Reviewed-by: igerasim, naoto
2018-05-21 11:43:57 -07:00
Jim Laskey
a455811dca 8200436: String::isBlank
Reviewed-by: sundar
2018-05-18 08:43:49 -03:00
Phil Race
7984fb2956 Merge 2018-05-16 09:45:40 -07:00
Erik Joelsson
ad3144f97f 8202920: jvm.cfg generation incorrect
Reviewed-by: ihse, shade, dholmes, ksrini
2018-05-16 09:40:57 -07:00
Claes Redestad
cff257a87b 8196340: (coll) Examine overriding inherited methods in ArrayList and ArrayList.SubList
Reviewed-by: martin, forax, igerasim
2018-05-16 18:03:20 +02:00
Phil Race
ca8b59370b Merge 2018-05-15 10:13:52 -07:00
Alan Bateman
d64c38aab2 8203059: (so) Closing a socket channel registered with Selector and with SO_LINGER set to 0 does not reset connection
Reviewed-by: chegar
2018-05-15 09:33:02 +01:00
Jim Laskey
7906014509 8200377: String::strip, String::stripLeading, String::stripTrailing
Reviewed-by: sundar, rriggs
2018-05-14 09:40:48 -03:00
Alexey Ivanov
e30d634514 8202544: Hide unused exports in libzip
Reviewed-by: clanger, ihse
2018-05-11 15:07:43 +01:00
Adam Petcher
f5a247a85f 8171277: Elliptic Curves for Security in Crypto
Implementations of X25519 and X448 key agreement in SunEC

Reviewed-by: mullan
2018-05-08 09:47:28 -04:00
Adam Petcher
f15ab37909 8181594: Efficient and constant-time modular arithmetic
Field arithmetic library for crypto algorithms like Poly1305 and X25519

Reviewed-by: xuelei
2018-05-08 09:21:51 -04:00
Jim Laskey
8139cce3e5 8200372: String::trim JavaDoc should clarify meaning of space
Reviewed-by: sundar
2018-05-08 09:27:42 -03:00
Claes Redestad
b329be2b75 8202548: Use reservation Object when creating SpeciesData
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, plevart
2018-05-08 10:49:59 +02:00
Christoph Dreis
59d4a62f42 8202719: Use Collections.emptyEnumeration where possible
Reviewed-by: martin, psandoz
2018-05-08 09:57:45 +02:00
Rachna Goel
78bd242097 8191410: Unicode 10
Upgrade to Unicode 10

Reviewed-by: naoto, rriggs, igerasim
2018-05-08 11:49:42 +05:30
Goetz Lindenmaier
b72846bc20 8202745: Remove hyphens from "out-of-bounds"
Reviewed-by: rriggs, dholmes
2018-05-07 23:07:01 +02:00
Mandy Chung
0e1bd1f99d 8202113: Reflection API is causing caller classes to leak
Reviewed-by: alanb, plevart
2018-05-11 14:21:46 -07:00
Joe Darcy
f899fb1841 8202563: BigInteger/BigDecimal not immune to overflow, contrary to spec
Reviewed-by: martin, bpb
2018-05-08 17:58:14 -07:00
Christoph Langer
2ac4c89501 8202181: Correctly specify size of hostname buffer in Unix Inet*AddressImpl_getLocalHostName implementations
Reviewed-by: stuefe, bpb, vtewari, chegar
2018-05-04 14:37:58 +01:00
Rachna Goel
5b3eaaf632 8202582: DateTimeFormatterBuilder.parseOffsetBased unnecessarily calls toString()
Call text.subSequence() before calling toString() on input string

Reviewed-by: igerasim
2018-05-04 15:44:24 +05:30
Claes Redestad
d1cf230fc1 8187123: (reflect) Class#getCanonicalName and Class#getSimpleName is a part of performance issue
Reviewed-by: psandoz, dholmes, mchung
2018-05-04 09:29:14 +02:00
Severin Gehwolf
2bd15814dc 8203223: Signed integer overflow in ImageStrings::hash_code (libjimage.so)
Perform hash operation on local unsigned type.

Reviewed-by: shade, dholmes, alanb
2018-05-15 15:36:46 +02:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Mandy Chung
bd18ef4c18 8201793: (ref) Reference object should not support cloning
Reviewed-by: psandoz, kbarrett
2018-05-03 11:18:57 -07:00
Martin Buchholz
405f933513 8202398: Optimize Arrays.deepHashCode
Reviewed-by: psandoz
2018-05-02 11:21:27 -07:00
Martin Buchholz
526a2dbe28 8201634: Random seedUniquifier uses incorrect LCG
Correct typo in constant from L'Ecuyer

Reviewed-by: dl, psandoz
2018-05-02 11:20:20 -07:00
Martin Buchholz
bb34027591 8202397: Typo in X-Buffer javadoc
Reviewed-by: psandoz
2018-05-02 11:19:12 -07:00
Naoto Sato
d071f0e344 8202484: Unused field in TimeZone
Reviewed-by: lancea
2018-05-01 12:37:15 -07:00
Doug Lea
a4c5934169 8202373: Forcing eager initialization of CHM$ReservationNode avoids deoptimization
Reviewed-by: martin, psandoz, dholmes, redestad
2018-05-01 06:18:48 -07:00
John Rose
d05ed512ac 8200167: Validate more special case invocations
Co-authored-by: Vladimir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Reviewed-by: acorn, vlivanov, dholmes
2018-04-30 21:56:54 -04:00
Jaikiran Pai
3e47229057 8201545: InetAddress.getByName/getAllByName should clarify empty String behavior
Reviewed-by: chegar
2018-04-30 16:13:30 +01:00
Claes Redestad
0f478d2cfd 8202419: Avoid creating Permission constants early
Reviewed-by: alanb, mullan
2018-04-30 16:27:23 +02:00
Jan Lahoda
f7afa8ff53 8202105: Console echo is disabled when exiting jshell
Preserving original terminal echo state when Console.readPassword finishes.

Reviewed-by: sherman, martin
2018-04-30 15:03:08 +02:00
Claes Redestad
55725ec33c 8201650: Move iteration order randomization of unmodifiable Set and Map to iterators
Reviewed-by: smarks, jiangli
2018-04-30 09:15:44 +02:00
Rachna Goel
a01b2f3b73 8179071: Month value is inconsistent between CLDR and Java in some locales
Handled Language aliases from CLDR SupplementalMetaData

Reviewed-by: naoto
2018-04-30 11:59:42 +05:30
Naoto Sato
fafd844bc6 8181157: CLDR Timezone name fallback implementation
Reviewed-by: sherman, scolebourne
2018-04-26 12:39:15 -07:00
Claes Redestad
dce2872700 8202324: Avoid loading FileInput-/OutputStream$AltFinalizer
Reviewed-by: alanb
2018-04-26 17:14:04 +02:00
Alan Bateman
2df7aa7b9f 8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space
Reviewed-by: bpb
2018-04-26 09:04:18 +01:00
Joe Darcy
15ef60b350 8200478: For boxing conversion javac uses Long.valueOf which does not guarantee caching according to its javadoc
Reviewed-by: bpb
2018-04-25 22:12:06 -07:00
Ivan Gerasimov
408c972077 8202154: Remove unused code in java.base/windows/native/libnet
Reviewed-by: vtewari, clanger
2018-04-25 18:30:38 -07:00
Claes Redestad
eed00fcf0a 8202184: Reduce time blocking the ClassSpecializer cache creating SpeciesData
Reviewed-by: psandoz, plevart
2018-04-25 13:54:11 +02:00
Ivan Gerasimov
72ac0bfc88 8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile
Reviewed-by: mullan, ahgross
2017-12-07 12:25:09 -08:00