558 Commits

Author SHA1 Message Date
Paul Sandoz
3246c46f41 8187254: MethodType allows unvalidated parameter types
Reviewed-by: mchung, jrose
2017-12-12 09:33:37 -08:00
Paul Sandoz
72e7a31529 8171826: Comparator.reverseOrder(c) mishandles singleton comparators
Reviewed-by: rriggs
2017-12-12 09:33:35 -08:00
Chris Hegarty
2f125c1bd5 8185027: Typo in java.net.URLClassLoader.findResources(String) method documentation
Reviewed-by: alanb
2017-12-12 13:08:22 +00:00
Jesper Wilhelmsson
f1985b2e7e Merge 2017-12-13 23:06:59 +01:00
Brent Christian
276093653a 8190984: tools/launcher/TestXcheckJNIWarnings.java WARNING was found in the output
Reviewed-by: dholmes, mchung
2017-12-12 21:46:06 -05:00
Jesper Wilhelmsson
42d9cdb7a0 Merge 2017-12-08 23:43:25 +01:00
Weijun Wang
67205081ec 8192987: keytool should remember real storetype if it is not provided
Reviewed-by: mullan
2017-12-08 09:40:14 +08:00
Stuart Marks
d57db3b793 8177681: Remove methods Runtime.getLocalized{Input,Output}Stream
Reviewed-by: rriggs, bpb, mr
2017-12-07 14:23:52 -08:00
Ivan Gerasimov
77b4045e0f 8193156: Need to backout fixes for JDK-8058547, JDK-8055753, JDK-8085903
Reviewed-by: mullan
2017-12-07 10:18:22 -08:00
Mandy Chung
4bff43558f 8193159: Reduce the number of classes loaded due to NativeLibrary
Reviewed-by: alanb, redestad, martin
2017-12-07 09:22:35 -08:00
Brian Burkhalter
dd07ad1703 8191872: (fs) UnixNativeDispatcher conditionally compiles in support for high precision timestamps
Remove POSIX conditional compilation and correct stat64 times for macOS

Reviewed-by: alanb, simonis
2017-12-07 08:56:04 -08:00
Alan Bateman
800f9ab58a 8191867: Module attribute in 54.0+ class file cannot contains a requires java.base with ACC_TRANSITIVE or ACC_STATIC_PHASE
Reviewed-by: psandoz, mchung
2017-12-07 16:45:19 +00:00
Peter Levart
238ca2e781 8191216: SimpleTimeZone.clone() has a data race on cache fields
Reviewed-by: alanb, naoto
2017-12-12 00:30:57 +01:00
Xueming Shen
3b0e59e8d8 8185582: Update Zip implementation to use Cleaner, not finalizers
Reviewed-by: plevart, rriggs, mchung
2017-12-11 11:45:02 -08:00
Doug Lea
71a866fe0c 8192944: Miscellaneous changes imported from jsr166 CVS 2017-12-08
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:30:53 -08:00
Doug Lea
00d1900dc9 8192943: Optimize atomic accumulators using VarHandle getAndSet
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:26:56 -08:00
Doug Lea
0b3b384a27 8193174: SubmissionPublisher invokes the Subscriber's onComplete before all of its submitted items have been published
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:22:58 -08:00
Martin Buchholz
ed69a7db9c 8192935: Fix EnumSet's SerializationProxy javadoc
Reviewed-by: smarks, rriggs
2017-12-03 13:06:51 -08:00
Xue-Lei Andrew Fan
82bf0799c6 8148421: Transport Layer Security (TLS) Session Hash and Extended Master Secret Extension
Co-authored-by: Martin Balao <mbalao@redhat.com>
Reviewed-by: jnimeh, ahgross, rhalade, wetmore
2017-12-08 16:41:30 +00:00
Jesper Wilhelmsson
e77f4f9c55 Merge 2017-12-02 06:51:10 +01:00
Patrick Reinhart
5eafe731b0 8191706: Add Reader::transferTo(Writer)
Reviewed-by: alanb, bpb, briangoetz
2017-12-06 14:39:15 -08:00
Roger Riggs
f29e21abb1 8080225: FileInput/OutputStream/FileChannel cleanup should be improved
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Andrej Golovnin
93aa3ae4d7 8193256: Configuration and ModuleLayer findModule cleanup
Reviewed-by: redestad, alanb
2017-12-08 14:28:51 +00:00
Magnus Ihse Bursie
a06ef68dcf 8190484: Move jvm.h, jmm.h et al to hotspot/*/include
Reviewed-by: dholmes, erikj, mchung
2017-12-04 23:55:52 +01:00
Jesper Wilhelmsson
48d81c1e0c Merge 2017-12-02 06:51:10 +01:00
Claes Redestad
11a8bac640 8192892: Improve JrtPath::getResolved fast-path test
8175891: JrtPath::resolve off-by-one pre-sizing cause for memory pressure

Reviewed-by: sundar, jlaskey
2017-12-01 17:00:34 +01:00
Mandy Chung
288a430ce7 8192879: jdk.internal.util.jar.VersionedStream is no longer needed
Reviewed-by: sherman
2017-11-30 19:58:20 -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
Chris Hegarty
a2000f8720 8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
Reviewed-by: alanb, dfuchs, dholmes, lancea, mchung, rriggs
2017-12-22 15:55:29 +00:00
Jesper Wilhelmsson
d417fc4af1 Merge 2017-12-21 00:07:38 +01:00
Jesper Wilhelmsson
4db5d786b7 Merge 2017-12-15 16:54:17 +01:00
Stuart Marks
121feb580b 8189284: More refactoring for deserialization cases
Reviewed-by: rriggs, igerasim, rhalade, skoivu
2017-11-27 17:30:49 -08:00
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
Ivan Gerasimov
4b37f67bf9 8068024: Null pointer dereference in jdk/src/macosx/native/apple/security/KeystoreImpl.m
Reviewed-by: weijun
2017-11-22 16:31:28 -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