585 Commits

Author SHA1 Message Date
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
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