1991 Commits

Author SHA1 Message Date
Pavel Rappo
421fc583be 8066678: java.nio.channels.Channels cleanup
Reviewed-by: alanb, chegar
2014-12-05 15:35:15 +00:00
Joe Darcy
4edac8c9d2 8066617: Suppress deprecation warnings in java.base module
Reviewed-by: lancea
2014-12-04 12:59:43 -08:00
Chris Plummer
a47e1013c2 6762191: Setting stack size to 16K causes segmentation fault
Fixed by forcing the stack size to always be at least 32k.

Reviewed-by: dholmes, alanb, ksrini, sspitsyn
2014-12-04 11:26:46 -08:00
Vladimir Ivanov
ea89dad13c 8057020: LambdaForm caches should support eviction
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
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
Vladimir Kozlov
37a6f605d0 Merge 2014-11-21 14:58:29 -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
Roger Riggs
cacb730235 8086208: java/lang/ProcessHandle/OnExitTest.java: IllegalThreadStateException: process hasn't exited
Reviewed-by: martin, dholmes
2015-06-17 16:03:49 -04: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
Brian Burkhalter
4b1eb9b618 8081843: (fs) FileStore.getTotalSpace returns unexpected results with >2TB file systems
On Mac OS X use statfs() instead of statvfs().

Reviewed-by: alanb
2015-06-12 17:06:28 -07:00
Brian Burkhalter
a2d7bc3020 8087288: File.get{Free,Total,Usable}Space may return unexpected results with >2TB file systems
On Mac OS X replace statvfs64() and struct statvfs64 with statfs() and struct statfs, respectively, and f_frsize with f_bsize.

Reviewed-by: alanb
2015-06-12 17:05:26 -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
Roger Riggs
53906a2cb4 8064932: java/lang/ProcessBuilder/Basic.java: waitFor didn't take long enough
Reviewed-by: dholmes, martin
2014-11-19 21:22:22 -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
Andrew Haley
bb0b55b7bb 8064594: AARCH64: JDK changes
Reviewed-by: dholmes, twisti, kvn
2014-11-13 15:45:45 -08:00
Aleksey Shipilev
4a8e05977e 8059677: Thread.getName() instantiates Strings
Reviewed-by: chegar, dholmes, sla, rriggs
2014-11-13 01:55:21 +03:00
Mark Sheppard
e98e33a745 8037909: JNI warnings in jdk/src/windows/native/java/nio/MappedByteBuffer.c
Added CHECK_NULL after JNI GetFieldID native call

Reviewed-by: alanb, chegar
2014-11-11 01:12:56 +00: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