85 Commits

Author SHA1 Message Date
Paul Sandoz
ed7a7fb89f 8015667: Stream.toArray(IntFunction) ArrayStoreException should refer to component type of array
Reviewed-by: smarks
2017-12-05 15:31:50 -08:00
Claes Redestad
c6aa806643 8193064: JarFile::getEntry0 method reference use cause for startup regression
Reviewed-by: sherman, mchung
2017-12-05 22:26:17 +01:00
Brent Christian
1a819fcd7a 8187222: ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
Reviewed-by: alanb, mchung
2017-12-05 09:44:32 -08:00
Claes Redestad
7759531e5c 8176188: jdk/internal/misc/JavaLangAccess/NewUnsafeString.java failing since 9-b93
Reviewed-by: psandoz, sherman
2017-12-05 14:25:16 +01:00
Stuart Marks
f4db9575d1 8177290: add copy factory methods for unmodifiable List, Set, Map
8184690: add Collectors for collecting into unmodifiable List, Set, and Map

Reviewed-by: alanb, briangoetz, dholmes, jrose, rriggs, scolebourne
2017-12-04 11:50:04 -08:00
Christoph Langer
3a458b1aa1 8192961: Remove some double semicolons
Reviewed-by: redestad
2017-12-04 10:13:58 +01:00
Doug Lea
850b92fa04 8187947: A race condition in SubmissionPublisher
Reviewed-by: martin, psandoz
2017-12-02 10:08:55 -08:00
Doug Lea
eac77274e8 8191937: Lost interrupt in AbstractQueuedSynchronizer when tryAcquire methods throw
Reviewed-by: martin, psandoz
2017-12-02 10:03:41 -08:00
Paul Sandoz
3e26f1114d 8186961: Class.getFields() does not return fields of previously visited super interfaces/classes
Reviewed-by: mchung, redestad
2017-12-01 17:06:09 -08:00
Stuart Marks
6ad8b12131 8160406: Collection.toArray() spec should be explicit about returning precisely an Object[]
Reviewed-by: psandoz, martin, redestad
2017-11-30 14:49:36 -08:00
Sean Mullan
4da03ba907 8186535: Remove deprecated pre-1.2 SecurityManager methods and fields
Reviewed-by: alanb, coleenp, hseigel, mchung
2017-11-30 07:54:28 -05:00
Nishit Jain
5102cb9120 6354947: [Fmt-*] Clarify DecimalFormat description of FieldPosition use
Reviewed-by: naoto, rriggs
2017-11-30 13:31:30 +05:30
Mandy Chung
44e4089789 8191942: Replace jdeps use of jdk.internal.util.jar.VersionedStream with new public API
Reviewed-by: alanb, erikj
2017-11-29 20:42:18 -08:00
Xueming Shen
97cddabb17 8189611: JarFile versioned stream and real name support
Reviewed-by: psandoz, alanb, mchung, martin
2017-11-29 15:01:16 -08:00
Paul Sandoz
012e103e91 8187237: Need to define the behaviour for 0 and 1 argument method type in StringConcatFactory.makeConcat
8186737: Lookup argument for StringConcatFactory.makeConcat & makeConcatWithConstants cannot have privileges less than PRIVATE

Reviewed-by: mchung
2017-11-29 12:39:59 -08:00
Paul Sandoz
e0fe688373 8181175: Stream.concat behaves like terminal operation
Reviewed-by: smarks, briangoetz, dfuchs
2017-11-29 10:35:50 -08:00
Valerie Peng
4c7e794ad9 8182484: Remove 1024-bit default requirement from javadoc of java.security.interfaces.DSAKeyPairGenerator
Updated javadoc to remove the text of using 1024 as the default key size

Reviewed-by: mullan
2017-11-29 00:43:59 +00:00
Brent Christian
bcbbc4d8ee 8191173: (cl) Clarify or remove "for delegation" in ClassLoader spec
Reviewed-by: alanb, dholmes, martin, mchung
2017-11-28 10:15:47 -08:00
Brian Burkhalter
adb156a9b2 8191516: OutputStream.write(byte[],int,int) could have fewer parameter bounds checks
Reduce parameter bounds checks from five to three as in InputStream::read

Reviewed-by: psandoz
2017-11-22 08:12:45 -08:00
Ivan Gerasimov
ac14c02059 8191632: Typos in comments due to duplicating words
Reviewed-by: alanb
2017-11-20 18:46:52 -08:00
Paul Sandoz
eb856a6953 8180437: Remaining renames of CAS misnomer "swap" => "set"
Reviewed-by: martin
2017-11-17 12:09:56 -08:00
Paul Sandoz
4c4d212355 8191429: List.sort should specify the sort is stable
Reviewed-by: smarks
2017-11-17 09:29:47 -08:00
Claes Redestad
d61c1efed9 8191442: Regression in LambdaFormBuffer.replaceFunctions
Reviewed-by: vlivanov
2017-11-17 15:43:12 +01:00
Mandy Chung
52693f1ca5 8157246: MHs.arrayLength, arrayElementGetter/Setter, arrayConstructor need to specify invocation-time behavior
Reviewed-by: psandoz, rriggs
2017-11-17 08:12:02 -06:00
Michael Dardis
3160d8e270 8190987: Package.getImplementationVersion returns null even if implementation version is non-null
Reviewed-by: mchung, rriggs
2017-11-16 22:51:15 -06:00
Jesper Wilhelmsson
88d610826b Merge 2017-11-16 01:11:32 +01:00
Claes Redestad
433bf8ab65 8184777: Factor out species generation logic from BoundMethodHandle
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: vlivanov
2017-11-16 00:58:50 +01:00
Jesper Wilhelmsson
fdee542113 Merge 2017-11-11 01:21:09 +01:00
Christoph Dreis
5d7c797278 8190733: Use Class::getPackageName in java.base implementation
Reviewed-by: mchung, rriggs
2017-11-08 13:38:00 -08:00
Paul Sandoz
cc59ccb7d4 8190974: Parallel stream execution within a custom ForkJoinPool should obey the parallelism
Reviewed-by: martin, tvaleev
2017-11-08 10:27:10 -08:00
Ivan Gerasimov
304348561f 8189631: Missing space in the javadoc for InetAddress.createNameService()
Reviewed-by: rriggs, wetmore
2017-11-14 13:31:43 -08:00
Sean Mullan
e20e93d027 Merge 2017-11-14 09:19:50 -05:00
Sean Mullan
b4a427a82b 8175094: Mark the deprecated java.security.acl APIs with forRemoval=true
Reviewed-by: weijun
2017-11-14 09:15:12 -05:00
Sean Mullan
525a4b1977 8175091: Mark the deprecated java.security.{Certificate,Identity,IdentityScope,Signer} APIs with forRemoval=true
Reviewed-by: weijun
2017-11-14 08:24:27 -05:00
Doug Lea
e2cbace23d 8189387: ConcurrentLinkedDeque linearizability continued ..
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:10:46 -08:00
Ramanand Patil
6c99853a4c 8190258: (tz) Support tzdata2017c
8190259: test tck.java.time.zone.TCKZoneRules is broken by tzdata2017c

Reviewed-by: naoto, martin
2017-11-09 14:38:54 +05:30
Mandy Chung
25032bad54 8164512: Replace ClassLoader use of finalizer with phantom reference to unload native library
Reviewed-by: alanb, bchristi, kbarrett, dholmes, plevart
2017-11-06 17:48:00 -08:00
Jesper Wilhelmsson
b97f1bcb37 Merge 2017-10-30 21:23:10 +01:00
Brian Burkhalter
5b91b26ccb 8190502: (fs) Typo in java.nio.file.Files
S/subsequence/subsequent/g

Reviewed-by: alanb
2017-11-03 10:18:28 -07:00
Brian Burkhalter
87eb47a3c8 8190500: (ch) ReadableByteChannelImpl::read and WritableByteChannelImpl::write might not throw ClosedChannelException as specified
Explicitly verify that the channel is open

Reviewed-by: alanb
2017-11-03 10:18:27 -07:00
Alan Bateman
693e7e8bf3 8186236: ModuleInfoExtender should be ASM6 aware
Reviewed-by: ksrini, mchung, sundar
2017-11-02 13:20:21 -07:00
Brent Christian
ac52bdcdd1 8185925: StackFrameInfo::walker field can be replaced with bitmap to save footprint
8153682: StackFrameInfo.declaringClass could be removed

Reviewed-by: coleenp, mchung
2017-11-09 11:13:50 -08:00
Jesper Wilhelmsson
3c76c33dba Merge 2017-11-07 08:47:47 +01:00
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00
Christoph Dreis
674b927865 8190323: "the the" typos
Reviewed-by: rriggs
2017-10-29 18:20:53 -04:00
Joe Darcy
b905e51da7 8189952: New methods on String: chars() and codePoints() should be marked since 9
Reviewed-by: bpb
2017-10-26 18:04:29 -07:00
Mandy Chung
34c9d598c7 8187089: StringConcatFactory.makeConcat & makeConcatWithConstants should throw StringConcatException if parameter slot count is over 200
Reviewed-by: rriggs, shade
2017-10-26 16:57:35 -07:00
Brian Burkhalter
18cbe428c1 8189963: Remove version of FileChannelImpl::open without the 'direct' parameter
Remove old version of FileChannelImpl::open and update call sites

Reviewed-by: rriggs
2017-10-26 11:08:31 -07:00
Brent Christian
0e82be62fa 8183901: Fix broken links to "Package Sealing" in the JAR spec
Reviewed-by: alanb, mchung
2017-10-25 09:06:39 -07:00
Lucy Lu
ec1c3bce45 8164900: Add support for O_DIRECT
Add support for Direct I/O in FileChannel

Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00