558 Commits

Author SHA1 Message Date
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
Ivan Gerasimov
29534320cd 8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain
Reviewed-by: weijun, mullan, ahgross
2017-12-07 11:21:47 -08:00
Ivan Gerasimov
3649ace8a0 8202091: Rename DualStackPlainSocketImpl to PlainSocketImpl [win]
Reviewed-by: clanger, chegar
2018-04-23 08:36:41 -07:00
Claes Redestad
0bf983846e 6805750: Improve handling of Attributes.Name
Reviewed-by: sherman
2018-04-23 13:32:00 +02:00
Matthias Baesken
cfcd657702 8201226: missing JNIEXPORT / JNICALL at some places in function declarations/implementations
Co-authored-by: Alexey Ivanov <alexey.ivanov@oracle.com>
Reviewed-by: ihse, mdoerr
2018-04-10 08:38:56 +02:00
David M Lloyd
883d41fefc 6341887: java.util.zip: Add ByteBuffer methods to Inflater/Deflater
Reviewed-by: alanb
2018-04-19 10:33:35 -07:00
Ivan Gerasimov
9303a8a180 8201510: Merge TwoStacksPlainSocketImpl into DualStackPlainSocketImpl [win]
Reviewed-by: chegar
2018-04-19 09:36:06 -07:00
Vivek Theeyarath
702ac597ad 8184693: add Pattern.isEmpty
Added method Pattern.isEmpty

Reviewed-by: forax, chegar, smarks, psandoz, rriggs
2018-04-18 10:30:57 -07:00
Srividya Shamaiah
698152fb51 8201369: Inet4AddressImpl_getLocalHostName reverse lookup on Solaris only
Reviewed-by: clanger, chegar
2018-04-16 12:50:10 +05:30
Kumar Srinivasan
1065333848 8198793: Add launcher support for preview features
Reviewed-by: mchung, sundar
2018-04-16 16:52:08 -07:00
Alan Bateman
33b921f25d 8201315: (se) Allow SelectableChannel.register to be invoked while selection operation is in progress
Reviewed-by: bpb
2018-04-18 10:20:09 +01:00
Stuart Marks
5d5303cb87 8189981: Improve queuing portability
Reviewed-by: skoivu, rhalade, chegar, igerasim
2018-02-02 10:56:12 -08:00
Paul Sandoz
1a23a6264e 8194238: Trying exceptions in MethodHandles
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
Adam Petcher
412087ff64 8193409: Improve AES supporting classes
Reviewed-by: valeriep
2018-01-23 11:18:11 -05:00
Paul Sandoz
9b54e6d766 8194233: Improve support for array handles
Reviewed-by: jrose, vlivanov, ahgross, rhalade
2018-01-22 13:27:28 -08:00
Ivan Gerasimov
97c8fdb2dd 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
Weijun Wang
8fb70c710a 8189997: Enhance keystore mechanisms
8194259: keytool error: java.io.IOException: Invalid secret key format

Reviewed-by: mullan, valeriep, rriggs, ahgross
2018-01-12 08:06:24 +08:00
Adam Petcher
093f473288 8182362: Update CipherOutputStream Usage
Clarify spec of CipherOutputStream in Javadoc comments

Reviewed-by: ascarpino
2018-01-02 09:23:01 -05:00
Paul Sandoz
d051769f79 8193414: Improvements in MethodType lookups
Reviewed-by: ahgross, jrose
2017-12-12 16:37:39 -08:00
Sean Mullan
4ea3d766b6 8186032: Disable XML Signatures signed with EC keys less than 224 bits
Reviewed-by: weijun, rhalade
2017-12-15 10:42:25 -05:00
Weijun Wang
cf8a91378d 8189969: Manifest better manifest entries
Reviewed-by: mullan
2017-12-14 08:21:36 +08:00
Sean Mullan
d32a31283c 8191358: Restore TSA certificate expiration check
Reviewed-by: coffeys, rhalade
2017-12-08 09:37:28 -05:00
Weijun Wang
0b873290a4 8189977: Improve permission portability
Reviewed-by: rriggs
2017-12-06 21:17:19 +08:00
Chris Hegarty
34c03b5907 Merge 2018-04-17 19:25:50 +01:00