Commit Graph

5725 Commits

Author SHA1 Message Date
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
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
Weijun Wang
cf35c06daa 8191137: keytool fails to format resource strings for keys for some languages after JDK-8171319
Reviewed-by: mullan
2017-11-14 21:43:15 +08: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
Vyom Tewari
2245db7522 8145635: Add TCP_QUICKACK socket option
Reviewed-by: chegar, rriggs, clanger
2017-11-13 14:03:36 +05:30
Doug Lea
e2cbace23d 8189387: ConcurrentLinkedDeque linearizability continued ..
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:10:46 -08:00
Brian Burkhalter
1ca74d0d2e 8191025: (ch) Scattering reads to a subsequence of buffers ignores length
Use length parameter instead of the buffer array length

Reviewed-by: rriggs, alanb
2017-11-09 13:30:03 -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
Chris Hegarty
c5c047de47 8190482: InnocuousThread creation should not require the caller to possess enableContextClassLoaderOverride
Reviewed-by: rriggs, mchung
2017-11-07 17:08:59 +00:00
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
Paul Sandoz
2c9ed8e178 8188870: Bump classfile version number to 54
Reviewed-by: alanb, dholmes, coleenp, mcimadamore
2017-11-03 10:01:08 -07:00
Sean Coffey
0c7be1d9e7 8185855: Debug exception stacks should be clearer
Reviewed-by: mullan, ascarpino
2017-12-06 14:33:33 +00:00
Alan Bateman
7e9984c112 8182742: ClassLoader.getResourceXXX throws NPE when ClassLoader created by defineModulesWithXXX
Reviewed-by: redestad, mchung
2017-12-06 08:36:09 +00:00
Alan Bateman
d26e4ff9b5 8186736: Spec clarifications for IllegalArgumentException throwing - ModuleLayer.defineX methods
Reviewed-by: mchung
2017-12-06 08:33:04 +00:00
Alan Bateman
d960d2031c 8192973: Adding "Module Resolution" to javadoc search index
Reviewed-by: mchung, jjg
2017-12-06 08:28:46 +00:00
Nishit Jain
fa64310889 8187551: MessageFormat.setFormat(int, Format) AIOOBE not thrown when documented
Reviewed-by: naoto, rriggs
2017-12-06 11:21:04 +05:30
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
Vyom Tewari
d55fdd6c56 8190843: can not set/get extendedOptions to ServerSocket
Reviewed-by: chegar, rriggs
2017-12-04 13:24:00 +05:30
Ivan Gerasimov
06331455d2 8187985: Broken certificate number in debug output
Reviewed-by: weijun
2017-12-03 01:47:23 -08: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
Xueming Shen
fad5094503 8191918: tomcat gzip-compressed response bodies appear to be broken in update 151
Reviewed-by: psandoz
2017-12-01 22:04:03 -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
Xue-Lei Andrew Fan
b657cda289 8163237: Restrict the use of EXPORT cipher suites
Reviewed-by: mullan, igerasim, rhalade, jnimeh
2017-10-31 00:54:53 +00: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
Kumar Srinivasan
105a51b96d 8190287: Update JDK's internal ASM to ASMv6
Reviewed-by: alanb, mchung, sundar
2017-11-02 13:18:23 -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
Adam Petcher
91a1005273 8185292: Stricter key generation
Reviewed-by: mullan
2017-10-24 09:58:27 -04:00
Jesper Wilhelmsson
3c76c33dba Merge 2017-11-07 08:47:47 +01:00
Claes Redestad
1908897b93 8221723: Avoid storing zero to String.hash
Reviewed-by: shade, prappo, jiangli
2019-04-02 11:24:40 +02:00
Weijun Wang
ae32136711 8221801: Update src/java.base/share/legal/public_suffix.md
Reviewed-by: xuelei
2019-04-02 11:05:08 +08:00
Weijun Wang
e0f37c15e4 8157404: Unable to read certain PKCS12 keystores from SequenceInputStream
Reviewed-by: xuelei
2019-04-02 10:17:30 +08:00
Xue-Lei Andrew Fan
2eb8492163 8168261: Use server cipher suites preference by default
Reviewed-by: mullan
2019-04-01 16:50:17 -07:00
Brian Burkhalter
07991d3f2d 8218418: (fs) Files.createSymbolicLink should use SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE (win)
Reviewed-by: alanb
2019-04-01 15:59:45 -07:00
Naoto Sato
0b2e2ca9bd 8174268: Declare a public field in JapaneseEra for the era starting May 2019
Reviewed-by: rriggs, chegar
2019-04-01 08:21:45 -07:00
Naoto Sato
2a510a6353 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-01 08:19:21 -07:00
Weijun Wang
61485b75a9 8221257: Improve serial number generation mechanism for keytool -gencert
Reviewed-by: xuelei, mullan
2019-03-30 16:32:23 +08:00
Claes Redestad
cf334e7de5 8221687: Deprecated j.u.jar.Attributes.Name attributes accidentally set to null
Reviewed-by: alanb
2019-03-29 15:59:28 +01:00
Valerie Peng
e90036145a 8220016: Clean up redundant RSA services in the SunJSSE provider
Removed duplicated RSA signature/KF/KPG support in SunJSSE

Reviewed-by: xuelei
2019-03-29 00:39:49 +00:00
Brian Burkhalter
b5e3a8220b 8221531: Incorrect copyright header in src/java.base/windows/native/libnio/ch/FileChannelImpl.c
Reviewed-by: lancea, bchristi
2019-03-27 13:00:57 -07:00
Martin Buchholz
df4f28c041 8219196: DataOutputStream.writeUTF may throw unexpected exceptions
Reviewed-by: martin, darcy, rriggs
2019-03-27 07:21:18 -07:00
Adam Farley
be132fcc65 8216558: Lookup.unreflectSetter(Field) fails to throw IllegalAccessException for final fields
Reviewed-by: mchung
2019-03-26 15:53:36 -07:00
Chris Hegarty
1933437f12 8219446: Specify behaviour of timeout accepting methods of Socket and ServerSocket if timeout is negative
Reviewed-by: alanb, dfuchs
2019-03-26 17:02:11 +00:00
Thomas Stuefe
800a5cdef5 8221406: Windows 32bit build error in NetworkInterface_winXP.c
Reviewed-by: clanger
2019-03-26 15:46:15 +01:00
Claes Redestad
274396e105 8221473: Configuration::reads can use Set.copyOf
Reviewed-by: alanb, forax
2019-03-26 15:20:23 +01:00
Claes Redestad
c013c7bd2f 8214712: Archive Attributes$Name.KNOWN_NAMES
Reviewed-by: alanb, jiangli
2018-12-03 16:25:27 +01:00
Christoph Langer
6ede0b6bb8 8221262: Cleanups in UnixFileSystem/WinNTFileSystem implementation classes
Reviewed-by: alanb, igerasim
2019-03-26 09:16:07 +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
Weijun Wang
69db146335 8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires
Reviewed-by: mullan
2017-10-27 21:11:15 +08:00
Weijun Wang
2dfe7fb8ab 8159535: Mark deprecated javax.security.auth.Policy API with forRemoval=true
Reviewed-by: mullan
2017-10-27 21:10:56 +08: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
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04: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
Naoto Sato
483595f375 8189272: CLDR and JRE LocaleProviderAdapters silently swallow exceptions
Reviewed-by: mchung
2017-10-24 08:56:47 -07:00
Christoph Dreis
6bfb868454 8189266: (ann) Optimize AnnotationInvocationHandler.invoke
Reviewed-by: jfranck, plevart
2017-10-23 11:33:16 +02: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
Henry Jen
4e93f8fc9f Merge 2017-10-20 09:49:02 -07:00
Jesper Wilhelmsson
65db4f42d0 8187556: Backout of a fix reintroduced a dependency that had since been removed
Reviewed-by: duke
2017-09-14 22:57:36 +02:00
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Vinnie Ryan
143cb6a2d2 8181670: Improve implementation of keystores
Reviewed-by: mullan
2017-09-05 15:53:33 +01:00
Jesper Wilhelmsson
291e5e159d Merge 2017-10-21 01:23:52 +02:00
Jesper Wilhelmsson
843dc3a8ea Merge 2017-10-16 17:03:56 +02:00
Alan Bateman
e4bea042c5 8189264: (sl) ServiceLoader does not wrap Errors thrown by provider classes when running with a security manager
Reviewed-by: mchung
2017-10-14 09:51:25 +01:00
Doug Lea
dc895e3911 8187941: Add StampedLock stamp inspection methods
Reviewed-by: martin, psandoz
2017-10-13 18:29:21 -07:00
Doug Lea
f8ae408aa9 8188047: Add SplittableRandom.nextBytes
Reviewed-by: martin, psandoz
2017-10-13 18:19:18 -07:00
Doug Lea
10dded5f7f 8188900: ConcurrentLinkedDeque linearizability
Reviewed-by: martin, psandoz
2017-10-13 18:07:47 -07:00
Jesper Wilhelmsson
947fc09db0 Merge 2017-10-14 00:19:29 +02:00
Alan Bateman
2abb1c7d7f 8186738: (sl) ServiceLoader::stream doesn't update cache
Reviewed-by: mchung
2017-10-13 14:17:10 +01:00
Stuart Marks
6c266f7163 6344935: (spec) clarify specifications for Object.wait overloads
Reviewed-by: dholmes, martin, forax, lancea, mchung
2017-10-12 17:58:26 -07:00
Brian Burkhalter
848a4d9bae 8189209: java/lang/invoke/lambda/LambdaAsm.java failed with "could not create proxy classes"
Use an inner class for the closer instead of a lambda

Reviewed-by: alanb, rriggs
2017-10-12 10:28:20 -07:00
Claes Redestad
81b7f75837 8188869: jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59
Reviewed-by: sherman, alanb
2017-10-12 16:00:29 +02:00
Brian Burkhalter
b890c3ce83 8147615: (fc) FileChannelImpl has no finalizer
Add a cleaner to close parent-less FileChannels

Reviewed-by: alanb, rriggs
2017-10-10 09:55:14 -07:00
Goetz Lindenmaier
f3bad9d19b 8188855: Fix VS10 build after "8187658: Bigger buffer for GetAdaptersAddresses"
Reviewed-by: vtewari, simonis
2017-10-06 08:37:08 +02:00
Ivan Gerasimov
9c1b0103b3 8186654: Poor quality of sun.security.util.Cache.EqualByteArray.hashCode()
Reviewed-by: coffeys
2017-10-04 01:08:36 -07:00
Ivan Gerasimov
4560687884 8187658: Bigger buffer for GetAdaptersAddresses
Reviewed-by: rriggs, vtewari
2017-10-03 23:42:08 -07:00
Doug Lea
c3664b7f38 8186056: Miscellaneous changes imported from jsr166 CVS 2017-09
Reviewed-by: martin, psandoz
2017-10-03 14:00:00 -07:00
Charles Munger
229cce5f44 8186265: Make toString() methods of "task" objects more useful
Reviewed-by: martin, psandoz, rriggs, dholmes, darcy
2017-10-03 13:55:05 -07:00
Doug Lea
2ea646cc20 8186226: Improve ConcurrentSkipListMap performance on weak memory model machines
Reviewed-by: martin, psandoz
2017-10-03 13:50:09 -07:00
Doug Lea
d9d91c1cc4 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
Reviewed-by: martin, psandoz
2017-10-03 13:45:11 -07:00
Doug Lea
c6e3667228 8187408: AbstractQueuedSynchronizer wait queue corrupted when thread awaits without holding the lock
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:37:01 -07:00
Doug Lea
dfce305868 8188241: Improve numerical code in StampedLock example code
Reviewed-by: martin, psandoz, darcy
2017-10-03 13:32:04 -07:00
Mandy Chung
5d986605ca 8186050: StackFrame should provide the method signature
Reviewed-by: alanb, bchristi, forax, plevart
2017-09-29 11:33:08 -07:00
Goetz Lindenmaier
a0218352fc 8188135: Fix VS 2010 build after "8187631: Refactor FileDescriptor close implementation"
Reviewed-by: dholmes, alanb
2017-09-29 10:00:58 +02:00
Mandy Chung
24d81d3f2e 6373396: (cl spec) clarify spec of ClassLoader.getPackages() about run-time package
Reviewed-by: psandoz
2017-09-27 12:44:06 -07:00
Claes Redestad
0355224df8 8187826: Avoid using reflection to bootstrap NamedFunctions
Reviewed-by: psandoz
2017-09-27 17:56:00 +02:00
Philipp Kunz
2ae9614d34 6695402: Jarsigner with multi-byte characters in class names
Reviewed-by: weijun
2017-09-27 14:02:15 +08:00
Rob McKenna
1fc8d0cfd9 8184328: JDK 8u131 socketRead0 hang at SSL read
Reviewed-by: xuelei, chegar, coffeys
2017-09-26 19:19:09 +01:00
Vyom Tewari
99b202b398 8185072: network006 times out in many configs in JDK10-hs nightly
Reviewed-by: chegar, rriggs
2017-09-26 20:34:10 +05:30
Vyom Tewari
02ba926da2 8159526: Deprivilege jdk.httpserver
Reviewed-by: chegar, alanb, michaelm, mchung
2017-09-26 15:08:56 +05:30
Sergey Bylokhov
97d93fe4d8 8187442: Xcheck:jni produces various "WARNING in native method" in launcher
Reviewed-by: ksrini, dholmes
2017-09-22 15:32:09 -07:00
John R Rose
f98aab0db9 8185993: MethodHandle.invokeWithArguments jumbo-arity
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -07:00
Roger Riggs
a3b9c07ee4 8177932: (process) java/lang/ProcessHandle/OnExitTest.java failed with "Process A should not be alive..."
Reviewed-by: stuefe, dholmes, fyuan
2017-09-21 11:41:34 -04:00
Roger Riggs
5e55e5e2ee 8187631: Refactor FileDescriptor close implementation
Reviewed-by: bpb, alanb
2017-09-21 11:41:12 -04:00
Weijun Wang
2bb3b82709 8148371: Remove policytool
Reviewed-by: erikj, alanb, mullan
2017-09-21 16:29:18 +08:00
Xueming Shen
02b9452ed3 8186464: ZipFile cannot read some InfoZip ZIP64 zip files
Reviewed-by: martin
2017-09-20 16:41:54 -07:00
Mandy Chung
4c1297b778 8188052: JNI FindClass needs to specify the class loading context used for library lifecycle hooks
Reviewed-by: alanb, coleenp, dholmes
2017-10-10 11:52:42 -07:00
Jesper Wilhelmsson
42a29333b9 Merge 2017-10-10 16:29:04 +02:00
Vladimir Kozlov
0c224245ce 8188775: Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.hotspot
Add missed changes in default.policy for new module

Reviewed-by: mchung
2017-10-06 10:39:09 -07:00
Jesper Wilhelmsson
eed5d34c26 Merge 2017-10-04 20:01:19 +00:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Dmitrij Pochepko
949f677957 8187684: Intrinsify Math.multiplyHigh(long, long)
Reviewed-by: kvn, aph, lucy
2017-10-04 11:52:07 -07:00
Calvin Cheung
6213838f11 8138600: eliminate the need of ModuleLoaderMap.dat for CDS
Removed the code which generates the ModuleLoaderMap.dat and the code which references it

Reviewed-by: mchung, jiangli
2017-09-29 10:11:01 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Valerie Peng
0e8009535c 8178466: Better RSA parameters
Reviewed-by: mullan, ahgross
2017-08-31 21:44:19 +00:00
Thomas Stuefe
1dca1fb4e1 8186665: [aix] buffer overflow in Java_java_nio_MappedByteBuffer_isLoaded0
Reviewed-by: alanb, plevart, clanger
2017-08-31 08:45:18 +02:00
Christoph Langer
2e31cc7ee1 8155590: Dubious collection management in sun.net.www.http.KeepAliveCache
Reviewed-by: rriggs, vtewari
2017-10-19 09:01:29 +02:00
Naoto Sato
ec4b6a477f 8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
2017-08-09 14:54:37 -07:00
Doug Lea
307f2c4550 8204375: Add TimeUnit#convert(Duration)
Reviewed-by: martin, scolebourne, plevart, rriggs
2018-06-08 11:38:40 -07:00
Xueming Shen
f56c0b79d8 8204229: Formatter and String.format ignore the width with the percent modifier (%5%)
Reviewed-by: jlaskey
2018-06-08 10:09:40 -07:00
Martin Buchholz
acdef788f0 8204377: Rename Object#wait parameter name from "timeout" to "timeoutMillis"
Reviewed-by: dholmes, scolebourne, alanb, rriggs
2018-06-08 09:37:52 -07:00
Martin Buchholz
170d8a7fae 8204444: java.time cleanup
Reviewed-by: scolebourne, rriggs
2018-06-08 09:36:10 -07:00
Srinivas Dama
79ac24439f 8196990: Resolve disabled warnings for libjli
Initialized uninitialzed data to avoid maybe-uninitialized warnings from gcc

Reviewed-by: jlaskey
2018-06-08 21:06:54 +05:30
Matthias Baesken
48966d03e8 8204539: improve error messages in matchJavaTZ [windows]
Reviewed-by: coffeys, clanger, goetz
2018-06-08 13:06:08 +02:00
Jonathan Gibbons
fe24730ed9 8201274: Launch Single-File Source-Code Programs
Reviewed-by: mcimadamore, jlahoda, ksrini, mchung, ihse, alanb
2018-06-07 16:06:49 -07:00
Magnus Ihse Bursie
628aec8c75 8203822: AIX version of jsig.c was not removed in JDK-8200298
Reviewed-by: erikj
2018-06-07 23:30:05 +02:00
Xueming Shen
a78fe0a073 8203839: API clarification: versioned jar entry verification in multi-release jar file
Reviewed-by: darcy, psandoz, alanb, weijun
2018-06-07 13:24:49 -07:00
Brian Burkhalter
e9f3b0e527 8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
Reviewed-by: alanb
2018-06-07 07:43:29 -07:00
Alan Bateman
2466623e45 6350055: (se) SelectionKey.interestOps variants to atomically update interest ops
Co-authored-by: David M Lloyd <david.lloyd@redhat.com>
Reviewed-by: bpb
2018-06-07 09:18:39 +01:00
Xueming Shen
bb4b387398 8204494: Fix for 8200530 triggered regression, closed/test/jdk/security/infra/java/security/KeyStore/BouncyCastleInterop.java failed
Reviewed-by: rriggs
2018-06-06 14:36:48 -07:00
Alan Bateman
79ed34634b 8203937: Not possible to read data from socket after write detects connection reset
Reviewed-by: chegar
2018-06-06 12:17:01 +01:00
Li Jiang
069e4f8095 8193552: ISO 4217 amendment 165
8202026: ISO 4217 amendment 166
8204269: ISO 4217 amendment 167

Reviewed-by: naoto
2018-06-05 23:06:32 -07:00
Xueming Shen
fcfd1c85dd 8200530: '\r' is not supported as "newline" in java.util.jar.Manifest
Reviewed-by: jlaskey
2018-06-05 10:03:46 -07:00
Naoto Sato
8220e4135a 8203324: Use out of scope in getMacOSXLocale of java_props_macosx.c:120
Reviewed-by: rriggs
2018-06-05 08:33:40 -07:00
Michal Vala
a30144440e 8190417: javadoc updates to java.util.regex.Matcher
Reviewed-by: lancea, alanb, dholmes
2018-06-01 12:28:19 -04:00
Claes Redestad
f4b24c3473 8204194: Lazily create MethodHandleImpl$AsVarargsCollector.asCollectorCache
Reviewed-by: psandoz
2018-06-01 11:34:13 +02:00
Rajan Halade
e042b06185 8191031: Remove several Symantec Root CAs
Reviewed-by: mullan
2018-05-31 14:56:51 -07:00
Vivek Theeyarath
5103e3b4a3 8177276: MethodHandles.insertArguments doesn't specify IllegalArgumentException on index mismatch
Correct MethodHandles.insertArguments spec

Reviewed-by: psandoz, mchung, ntv
2018-05-25 22:56:00 -07:00
Jamil Nimeh
fcb805f9a6 8153029: ChaCha20 Cipher Implementation
Add the ChaCha20 and ChaCha20-Poly1305 Cipher implementations

Reviewed-by: mullan
2018-05-31 07:05:10 -07:00
Rachna Goel
f001238086 8203474: Update description of "Cyrillic Supplementary" block name in Character.UnicodeBlock class
Updated description of cyrillic supplementary block.

Reviewed-by: naoto
2018-05-31 15:11:57 +05:30
Jim Laskey
e18f24a98e 8050818: Predicate::not - provide an easier way to negate a predicate
Reviewed-by: chegar, dl, psandoz, forax, smarks, redestad
2018-05-30 12:40:04 -03:00
Rajan Halade
5712e9e18b 8189949: Remove Baltimore Cybertrust Code Signing CA
Reviewed-by: mullan
2018-05-30 07:42:48 -07:00
Claes Redestad
b67da0de17 8203886: Invoke LambdaMetafactory::altMetafactory exactly from the BootstrapMethodInvoker
Reviewed-by: mchung
2018-05-30 14:46:28 +02:00
Vyom Tewari
6a48db9cf6 8194298: Add support for per Socket configuration of TCP keepalive
Reviewed-by: chegar, clanger, igerasim, alanb
2018-05-30 16:36:35 +05:30
Martin Buchholz
e85e0f5daf 8203327: Small cleanups in java.lang.ref
Reviewed-by: mr
2018-05-29 19:15:49 -07:00
Naoto Sato
7c91898b9f 8182601: Improve usage messages
Reviewed-by: alanb, ahgross, ksrini, mchung
2017-08-08 10:43:07 -07:00
Stuart Marks
7d547d0ee4 8174109: Better queuing priorities
Reviewed-by: chegar, dfuchs, rriggs, alanb, robm, rhalade, jeff, ahgross
2017-08-02 10:34:35 -07:00
Adam Petcher
72e7522e88 8182387: Improve PKCS usage
Reviewed-by: valeriep
2017-07-28 18:20:43 +00:00
Pavel Rappo
05331dc72f 8181612: More stable connection processing
Reviewed-by: chegar, coffeys, ahgross, joehw, rhalade
2017-07-26 17:44:06 +01:00
Vyom Tewari
5069e85826 8182125: Improve reliability of DNS lookups
Reviewed-by: chegar, rriggs, dfuchs
2017-07-23 10:33:13 +05:30
Valerie Peng
b3f1165f7d 8181048: Refactor existing providers to refer to the same constants for default values for key length
Reviewed-by: mullan, ahgross
2017-07-13 20:41:59 +00:00
Weijun Wang
7cf3c0ff14 8182879: Add warnings to keytool when using JKS and JCEKS
Reviewed-by: vinnie, ahgross, mullan
2017-07-12 10:55:40 +08:00
Weijun Wang
3232ef5897 8181432: Better processing of unresolved permissions
Reviewed-by: mullan
2017-07-06 09:20:21 +08:00
Vinnie Ryan
47efefa42f 8181692: Update storage implementations
Reviewed-by: weijun, igerasim
2017-07-05 17:27:46 +01:00
Adam Petcher
248948c08b 8174756: Extra validation for public keys
Reviewed-by: valeriep
2017-07-04 01:52:53 +00:00
Vinnie Ryan
e4945e6c66 8181370: Better keystore handling
Reviewed-by: weijun, igerasim
2017-06-28 16:52:36 +01:00
Brent Christian
e8c680e65b 8187772: JVM crash when currency set on MacOS 10.10 and earlier
Reviewed-by: naoto
2017-10-16 11:20:59 -07:00
Jaroslav Tulach
d08cb7efdf 8189116: Give the jdk.internal.vm.compiler.management only the permissions it really needs to expose the bean
Reviewed-by: mchung, kvn
2017-11-10 10:30:42 +01:00
Roger Riggs
74b07b599e 8181597: Process Proxy presentation
Reviewed-by: dfuchs, ahgross, rhalade, skoivu
2017-06-19 17:38:33 -04:00
Naoto Sato
89b8d98d19 8181323: Better timezone processing
Reviewed-by: rriggs
2017-06-15 09:57:15 -07:00
James Laskey
03e33188f3 8180869: Cleaner image file reading handling
Reviewed-by: ahgross, rriggs, rhalade
2017-06-05 12:36:15 -03:00
Weijun Wang
e7fdfdb7e7 8178714: PKIX validator nameConstraints check failing after change 8175940
Reviewed-by: mullan, ahgross
2017-05-18 08:52:50 +08:00
Adam Petcher
bb2e7a3311 8172525: Improve key keying case
Reviewed-by: mullan, valeriep, rhalade, ahgross
2017-04-28 10:17:46 -04:00
Chris Dennis
58faa32cfe 8178117: Add public state constructors for Int/Long/DoubleSummaryStatistics
Reviewed-by: psandoz, bpb, briangoetz
2017-04-11 17:25:09 -04:00
Christoph Dreis
7f79fffba6 8190382: fix small typographic errors in comments
Reviewed-by: martin
2017-10-30 17:49:33 -07:00
Brent Christian
f32470d85f 8189319: Add a java.util.Properties constructor that takes an initial capacity
Reviewed-by: martin, mchung, rriggs
2017-10-30 16:16:01 -07:00
Daniel Fuchs
c8812e460a 8176751: Better URL connections
Reviewed-by: chegar, michaelm, rhalade, rpatil, vtewari
2017-03-23 15:07:26 +00:00
Vladimir Ivanov
fa8b858052 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00
Mark Sheppard
979cec24f8 8160104: CORBA communication improvements
Reviewed-by: rriggs, dfuchs
2017-09-03 16:08:13 +01:00
Weijun Wang
f92a050948 8175940: More certificate subject checking
Reviewed-by: ahgross, mullan
2017-03-15 22:27:12 +08:00
Valerie Peng
2473f1cf41 8171252: Improve exception checking
Reviewed-by: ascarpino, mschoene
2017-02-22 00:14:32 +00:00
Daniel Fuchs
020204a972 8180024: Improve construction of objects during deserialization
Reviewed-by: rriggs, skoivu, ahgross, rhalade
2017-05-19 11:18:49 +01:00