724 Commits

Author SHA1 Message Date
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Paul Sandoz
cec929efaf 8066397: Remove network-related seed initialization code in ThreadLocal/SplittableRandom
Reviewed-by: alanb, dl, chegar, rriggs, shade
2014-12-03 12:00:26 +01:00
Alejandro Murillo
792bc020b9 Merge 2014-12-02 14:36:23 -08:00
Daniel Fuchs
3034f050f9 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Alan Bateman
14ee089287 8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component
Reviewed-by: dfuchs
2014-12-01 13:44:57 +00:00
Alan Bateman
f0b198804a 8062955: (fs spec) Files.setLastModifiedTime should specify SecurityException more clearly
8062949: (fs) Files.setLastModifiedTime(path, null) does not throw NPE

Reviewed-by: chegar
2014-11-28 14:58:10 +00:00
Alejandro Murillo
e7d19b374a Merge 2014-11-27 07:16:54 -08:00
Weijun Wang
eafad5770a 8061253: Spec cleanup for some security-related classes
Reviewed-by: mullan
2014-11-26 15:28:46 +08:00
Alan Bateman
3469175a63 8065720: (ch) AbstractInterruptibleChannel.end sets interrupted to null
Reviewed-by: psandoz, chegar
2014-11-24 18:11:25 +00:00
Vladimir Ivanov
95ef6e0cb2 8059880: Get rid of LambdaForm interpretation
Reviewed-by: psandoz, kvn, shade
2014-11-24 07:19:36 -08:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Staffan Larsen
63cf080672 Merge 2014-11-24 09:57:03 +01:00
Martin Buchholz
5ffaffb47e 8065159: AttributedString has quadratic resize algorithm
Grow backing arrays geometrically instead of arithmetically

Reviewed-by: naoto, okutsu
2014-11-21 16:30:02 -08:00
Staffan Friberg
c90bc5b316 6321472: Add CRC-32C API
To add CRC-32C api and implementation

Reviewed-by: sherman
2014-11-21 09:28:53 -08:00
Weijun Wang
3e02b2dfeb 8064890: SecureClassLoader should use a ConcurrentHashMap
Reviewed-by: mullan
2014-11-20 17:52:18 +08:00
Daniel Fuchs
bb207a1cc1 8072692: Improve performance of SecurityManager.checkPackageAccess
Reviewed-by: mullan, weijun
2015-06-17 15:47:12 -04:00
Joe Darcy
48ea10de6b 8098790: Improve cross references and wording in java.lang.reflect.AnnotatedFoo type
Reviewed-by: lancea
2015-06-16 17:05:08 -07:00
Doug Lea
975075a8c8 8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Alejandro Murillo
ff4f8a8cef Merge 2015-06-15 10:56:31 -07:00
Sean Mullan
0338c81dbd 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
Reviewed-by: weijun
2015-06-12 12:50:41 -04:00
Srikanth Adayapalam
3132301b74 8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType,TypeVariable}
Reflection APIs should return unannotated Object as the upper bound when there is no explicit upper bound.

Reviewed-by: darcy
2015-06-12 10:58:31 +05:30
Staffan Larsen
f755ca6acc Merge 2014-11-17 09:36:40 +01:00
Roger Riggs
d5aaa2d8ff 8065372: Object.wait(ms, ns) timeout returns early
Reviewed-by: martin, dholmes
2014-11-19 21:28:26 -05:00
Claes Redestad
477b157f38 8065070: (fmt) Avoid creating substrings when building FormatSpecifier
Reviewed-by: martin, shade
2014-11-17 23:56:53 +01:00
Aleksey Shipilev
4a8e05977e 8059677: Thread.getName() instantiates Strings
Reviewed-by: chegar, dholmes, sla, rriggs
2014-11-13 01:55:21 +03:00
Neil Toda
918fac5a52 8058407: Remove Multiple JRE support in the Java launcher
Reviewed-by: alanb, darcy, ksrini
2014-11-10 08:43:27 -08:00
Kirk Shoop
9eafb6c406 8064407: (fc) FileChannel transferTo should use TransmitFile on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-12-07 07:10:29 +00:00
Eric McCorkle
1c54a00f75 8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.

Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Martin Buchholz
8ecf707b8d 8062773: Clarifications for Class specification
Reviewed-by: darcy, psandoz
2014-11-06 13:29:36 -08:00
Martin Buchholz
7c51cce1ad 8064846: Lazy-init thread safety problems in core reflection
Make several fields in core reflection volatile

Reviewed-by: jfranck, shade, plevart
2014-11-14 11:23:07 -08:00
Aleksey Shipilev
e1f99ed979 8065096: java.net.Authenticator.theAuthenticator should be properly synchronized
Reviewed-by: chegar, lancea
2014-11-17 15:30:22 +03:00
Martin Buchholz
84e99bc48e 8062771: Core reflection should use final fields whenever possible
Reviewed-by: psandoz, darcy
2014-11-06 13:18:44 -08:00
Claes Redestad
1584416bbc 8062180: MethodHandleImpl.makeArrays throws and swallows java.lang.NoSuchFieldError in normal flow
Reviewed-by: vlivanov, shade
2014-11-06 15:25:56 +01:00
Claes Redestad
678e0c1b0d 8060130: Simplify the synchronization of defining and getting java.lang.Package
Reviewed-by: mchung, plevart, shade
2014-11-06 00:06:26 +01:00
Weijun Wang
ed9e73bb66 8057810: New defaults for DSA keys in jarsigner and keytool
Reviewed-by: vinnie
2014-11-05 17:15:09 +08:00
Michael McMahon
df1eec112e 8062744: jdk.net.Sockets.setOption/getOption does not support IP_TOS
Reviewed-by: alanb, chegar
2014-11-04 15:09:01 +00:00
Alan Bateman
5598ed0cf0 8062632: (fs spec) Package description could be clearer on the cases where NPE is thrown
8062553: (fs spec) Files.write and newBufferedWriter methods missing @throws IAE

Reviewed-by: dfuchs
2014-11-03 15:33:11 +00:00
Xue-Lei Andrew Fan
83143ef7f8 8061210: Issues in TLS
Reviewed-by: jnimeh, mullan, wetmore, ahgross, asmotrak
2014-11-03 08:30:18 +00:00
Stuart Marks
b23c39c07b 4354680: Runtime.runFinalization() silently clears interrupted flag in the calling thread
Reviewed-by: dholmes, chegar
2014-10-30 17:48:10 -07:00
Brian Burkhalter
32ca949153 8062501: Modifications of server socket channel accept() methods for instrumentation purposes
Wrap accept0() native methods in Java accept().

Reviewed-by: chegar, alanb
2014-10-30 11:31:17 -07:00
Martin Buchholz
08eb67b941 8067377: My hobby: caning, then then canning, the the can-can
Fix ALL the stutters!

Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Roger Riggs
b13527e322 8056238: (process) ProcessBuilder.redirectError spec has a broken link
Reviewed-by: lancea
2014-12-12 15:07:00 -05:00
Martin Buchholz
45770d3152 8065804: JEP 171: Clarifications/corrections for fence intrinsics
Reviewed-by: dholmes, shade, dl, psandoz
2014-12-10 09:23:00 -08:00
Martin Buchholz
0a3973c5a6 8065172: More core reflection final and volatile annotations
More fiddling with "final" and "volatile" field modifiers

Reviewed-by: jfranck, plevart, psandoz
2014-11-21 16:30:02 -08:00
Roger Riggs
d2c9b82513 8062513: doclint warnings in HijrahChronology
Use proper markup for < >

Reviewed-by: darcy, alanb
2014-10-30 09:13:27 -04:00
Vladimir Ivanov
224c42ee4d 8059877: GWT branch frequencies pollution due to LF sharing
Reviewed-by: psandoz, jrose
2014-10-29 09:31:37 -07:00
Aleksei Efimov
426cd00f3b 8059206: (tz) Support tzdata2014i
Reviewed-by: okutsu
2014-10-29 19:59:53 +03:00
Richard Warburton
a065473cfc 4774077: Use covariant return types in the NIO buffer hierarchy
Reviewed-by: psandoz, alanb, mr, darcy
2014-10-29 14:10:34 +01:00
Roger Riggs
cc54a8a71d Merge 2014-10-28 11:29:59 -04:00
Ivan Gerasimov
b051027d6f 8023173: FileDescriptor should respect append flag
Reviewed-by: martin, alanb, rriggs
2014-10-28 15:36:27 +03:00