1010 Commits

Author SHA1 Message Date
Doug Lea
eb1eadb69f 8225490: Miscellaneous changes imported from jsr166 CVS 2019-09
Reviewed-by: martin, alanb
2019-09-14 11:26:26 -07:00
Doug Lea
80fe274875 8229442: AQS and lock classes refresh
Reviewed-by: martin
2019-09-14 11:16:40 -07:00
Ivan Gerasimov
5e7e0e7bbe 8230829: Matcher matches a surrogate pair that crosses border of the region
Reviewed-by: naoto
2019-09-12 11:07:35 -07:00
Brian Burkhalter
4285853d91 8230342: LineNumberReader.getLineNumber() returns inconsistent results after EOF
Reviewed-by: rriggs, dfuchs
2019-09-11 12:32:01 -07:00
Naoto Sato
ee9bd9bf04 8230136: DateTimeFormatterBuilder.FractionPrinterParser#parse fails to verify minWidth
Reviewed-by: joehw, scolebourne, rriggs
2019-09-11 08:50:03 -07:00
Mandy Chung
5d397eea9f 8229785: MethodType::fromMethodDescriptorString should require security permission if loader is null
Reviewed-by: vromero
2019-09-10 10:35:52 -07:00
Brent Christian
a4613d4a8f 8212117: Class.forName may return a reference to a loaded but not linked Class
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Joe Darcy
10f1f10f2e 8230723: Remove default constructors from java.lang and java.io
Reviewed-by: bpb, rriggs
2019-09-09 10:13:42 -07:00
Jaikiran Pai
c84e19f3ca 8177389: Hyphen "-" should be removed in URL class documentation
Javadoc of java.net.URL constructor updated to remove an unnecessary hyphen

Reviewed-by: dfuchs
2019-08-24 09:31:15 +05:30
Claes Redestad
c788d9841c 8230662: Remove dead code from MethodTypeForm
Reviewed-by: vlivanov, mchung
2019-09-07 15:44:04 +02:00
Daniel Fuchs
5399449a43 8230694: http.keepAlive system property is inconsistently/incorrectly documented
Trivially fixed the net-properties.html file

Reviewed-by: alanb
2019-09-06 14:04:44 +01:00
Naoto Sato
2aac0e925d 8229831: Upgrade Character.isUnicodeIdentifierStart/Part() methods to the latest standard
Reviewed-by: rriggs
2019-09-05 17:38:54 -07:00
Brian Burkhalter
4d70cdac4f 8187898: PrintStream should override FilterOutputStream#write(byte[]) with a method that has no throws clause
Reviewed-by: alanb, rriggs, lancea, darcy
2019-09-05 16:26:53 -07:00
Joe Darcy
cebd13dbaa 8230681: Add @since tag to java.io.Serial
Reviewed-by: lancea, bpb
2019-09-05 15:55:57 -07:00
Jaikiran Pai
6fa4babbb2 8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage
Catch the IAE thrown by ProxySelector.select and wrap it into a IOException

Reviewed-by: dfuchs
2019-08-28 20:05:43 +05:30
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Joe Darcy
6d4ef5aaf3 8229999: Apply java.io.Serial annotations to security types in java.base
Reviewed-by: rriggs, mullan
2019-08-29 10:52:21 -07:00
Ivan Gerasimov
d607548f20 8230338: Accurate error message about bad Unicode block name
Reviewed-by: rriggs
2019-08-29 07:39:06 -07:00
Claes Redestad
b4c63048bb 8230302: GenerateJLIClassesPlugin can generate invalid DirectMethodHandle methods
Reviewed-by: mchung
2019-08-29 15:59:00 +02:00
Joe Darcy
9b0cfaf53e 8230074: Improve specification for {Math, StrictMath}.negateExact
Reviewed-by: bpb
2019-08-28 22:30:26 -07:00
Ivan Gerasimov
3ed845784d 8226831: Use Objects.equals() when appropriate
Reviewed-by: rriggs, bpb
2019-08-27 14:44:21 -07:00
Jaikiran Pai
1d67d474a5 8177648: getResponseCode() throws IllegalArgumentException caused by protocol error while following redirect
Reviewed-by: michaelm, chegar, dfuchs
2019-08-26 12:25:49 +01:00
Michael McMahon
ec24017b02 8222363: Update ServerSocket.isBound spec to reflect implementation after close
Reviewed-by: dfuchs
2019-08-26 11:46:54 +01:00
Julia Boes
ce3face998 8229485: Add decrementExact(), incrementExact(), and negateExact() to java.lang.StrictMath
Three methods are added to StrictMath for consistency with Math. Tests are updated accordingly.

Reviewed-by: bpb, lancea, igerasim, dfuchs, joehw, rriggs
2019-08-23 19:55:08 +01:00
Julia Boes
3ba89c3e98 8229337: java.lang.Math class doc should be adjusted regarding -Exact methods
Reviewed-by: rriggs, bpb
2019-08-23 18:40:59 +01:00
Roger Riggs
de8d01d4d3 8207814: (proxy) upgrade the proxy class generator
Reviewed-by: mchung
2019-08-21 16:19:17 -04:00
Arthur Eubanks
916c2e3cf3 8229899: Make java.io.File.isInvalid() less racy
Reviewed-by: alanb, martin, shade
2019-08-19 16:08:28 -07:00
Andrew Dinn
047b8bfeb7 8224974: Implement JEP 352
Non-Volatile Mapped Byte Buffers

Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Joe Darcy
792a6d1645 8202385: Annotation to mark serial-related fields and methods
Reviewed-by: rriggs, chegar, alanb
2019-08-19 18:12:09 -07:00
Claes Redestad
2c245bd2b9 8229773: Resolve permissions for code source URLs lazily
Reviewed-by: alanb, mullan, rriggs, dfuchs
2019-08-19 06:13:52 +02:00
Ivan Gerasimov
c0b8844dce 8221307: String.substring() OOB exception on start index reports improper information
Reviewed-by: rriggs, redestad
2019-08-16 11:35:17 -07:00
Mandy Chung
5542307097 8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767
Reviewed-by: coleenp, fparain, shade, plevart
2019-08-15 13:41:30 -07:00
Valerie Peng
effe3eb806 8228613: java.security.Provider#getServices order is no longer deterministic
Changed to use SunEntries.DEF_SECURE_RANDOM_ALGO instead of relying on ordering of SecureRandom services

Reviewed-by: weijun
2019-08-14 00:57:15 +00:00
Mandy Chung
182c19e8c4 8209005: Lookup.unreflectSpecial fails for default methods when Lookup.findSpecial works
8209078: Unable to call default method from interface in another module from named module

Reviewed-by: dfuchs, plevart
2019-08-13 15:49:11 -07:00
Naoto Sato
cf9351a41f 8211990: DateTimeException thrown when calculating duration between certain dates
Reviewed-by: lancea, scolebourne, rriggs
2019-08-13 10:10:42 -07:00
Claes Redestad
46e4b55e23 8229283: StringLatin1 should consistently use CharacterDataLatin1.instance when applicable
Reviewed-by: jlaskey
2019-08-09 13:58:48 +02:00
Naoto Sato
865afd7fda 8215181: Accounting currency format support
Reviewed-by: lancea, rriggs
2019-08-07 14:56:26 -07:00
Jesper Wilhelmsson
2ce6d6ba36 Merge 2019-08-07 22:43:49 +02:00
Lance Andersen
5233e25c4c 8226530: ZipFile reads wrong entry size from ZIP64 entries
Reviewed-by: bpb, clanger, shade
2019-08-07 14:04:10 -04:00
Patrick Concannon
c98e06ff52 8228971: Locale API doc has redundant hyphens for some parameters
Reviewed-by: lancea
2019-08-07 08:42:14 -07:00
Sean Mullan
22cb2d8b5b 8210755: Define standard names for EC curves and TLS signature schemes
Reviewed-by: xuelei
2019-08-06 09:27:38 -04:00
Ivan Gerasimov
66dc6cf25b 8228352: CANON_EQ breaks when pattern contains supplementary codepoint
Reviewed-by: naoto
2019-08-01 07:14:03 -07:00
Sean Mullan
28479937ea 8191138: Remove deprecated java.security.acl APIs
Reviewed-by: alanb, mchung
2019-07-30 09:26:47 -04:00
Brian Burkhalter
62c2d1fbd9 8078891: java.io.SequenceInputStream.close is not atomic and not idempotent
Reviewed-by: prappo, dfuchs, alanb
2019-07-29 09:09:23 -07:00
Mandy Chung
19ec64630a 8228671: Fastdebug VM throws InternalError when publicLookup.in(T) is used to resolve a member
Reviewed-by: alanb
2019-07-27 14:49:16 -07:00
Naoto Sato
11ab995e6c 8228465: HOST locale provider holds wrong era name for GregorianCalendar in US locale
Reviewed-by: lancea
2019-07-26 13:32:59 -07:00
Naoto Sato
c1a479ad67 8212970: TZ database in "vanguard" format support
Reviewed-by: rriggs, joehw, erikj, scolebourne
2019-07-26 08:56:28 -07:00
Mandy Chung
068575e9b1 8173978: Lookup.in should allow teleporting from a lookup class in a named module without dropping all access
Reviewed-by: alanb, plevart
2019-07-24 16:46:42 -07:00
Mandy Chung
203db2596f 8219774: Reexamine the initialization of LangReflectAccess shared secret at AccessibleObject::<clinit>
Reviewed-by: alanb
2019-07-23 20:03:03 -07:00
Thejasvi Voniadka
1f325a0f20 8154520: java.time: appendLocalizedOffset() should return the localized "GMT" string
Changes to produce/consume the locale-specific equivalent corresponding to the english string "GMT".

Reviewed-by: naoto, rriggs
2019-07-11 03:28:43 +05:30