48 Commits

Author SHA1 Message Date
Chris Hegarty
2daf96018c 8058216: NetworkInterface.getHardwareAddress can return zero length byte array when run with preferIPv4Stack
Reviewed-by: michaelm
2014-09-12 15:51:22 +01:00
Valerie Peng
0cade9c5f1 8039898: sunpkcs11-solaris.cfg should be in solaris specific directory
Move from src/java.base/share/conf/security/ to src/jdk.crypto.pkcs11/solaris/conf/security

Reviewed-by: erikj, ihse
2014-09-11 17:06:35 +00:00
Claes Redestad
bf02343a72 8057936: java.net.URLClassLoader.findClass uses exceptions in control flow
Reviewed-by: alanb, chegar, dholmes, mr
2014-09-11 15:51:46 +01:00
John Rose
dbbce7862e 8057922: Improve LambdaForm sharing by using LambdaFormEditor more extensively
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
30f687e214 8057042: LambdaFormEditor: derive new LFs from a base LF
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
f74266a5a4 8056926: Improve caching of GuardWithTest combinator
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
afe2dd89e4 8057657: Annotate LambdaForm parameters with types
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:51 +04:00
John Rose
563b1c73a4 8057656: Improve MethodType.isCastableTo() & MethodType.isConvertibleTo() checks
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:51 +04:00
John Rose
67504740bd 8057654: Extract checks performed during MethodHandle construction into separate methods
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:51 +04:00
John Rose
70c6eaee97 8050887: Intrinsify constants for default values
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
9c80853676 8050884: Intrinsify ValueConversions.identity() functions
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
f365de576b 8050877: Improve code for pairwise argument conversions and value boxing/unboxing
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
d565c3701f 8050200: Make LambdaForm intrinsics detection more robust
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
8940954741 8050057: Improve caching of MethodHandle reinvokers
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
fb7b2acc12 8050174: Support overriding of isInvokeSpecial flag in WrappedMember
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
71bae4addc 8050173: Add j.l.i.MethodHandle.copyWith(MethodType, LambdaForm)
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
2f4b5e8534 8050166: Get rid of some package-private methods on arguments in j.l.i.MethodHandle
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:48 +04:00
John Rose
6a177f43fb 8050053: Improve caching of different invokers
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:48 +04:00
John Rose
da56d3f6d1 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
0898161932 8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev
2014-09-10 19:19:47 +04:00
John Rose
693c89e3b9 8038261: JSR292: cache and reuse typed array accessors
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
John Rose
0b424b49d8 8037209: Improvements and cleanups to bytecode assembly for lambda forms
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:46 +04:00
Claes Redestad
1dc4b5e2f8 8055251: Re-examine Integer.parseInt and Long.parseLong methods
Reviewed-by: alanb
2014-09-10 13:51:17 +01:00
Ivan Gerasimov
63af0e6c0d 7010989: Duplicate closure of file descriptors leads to unexpected and incorrect closure of sockets
Reviewed-by: chegar
2014-09-09 19:02:36 +04:00
Andrej Golovnin
fe519e6845 5043030: (reflect) unnecessary object creation in reflection
Use valueOf() instead of new for primitive wrappers.

Reviewed-by: jfranck
2014-09-09 12:04:31 +02:00
Joel Borggrén-Franck
febacf5319 8054987: (reflect) Add sharing of annotations between instances of Executable
Reviewed-by: darcy, plevart
2014-09-09 10:48:01 +02:00
Aleksei Efimov
5e87931875 8049343: (tz) Support tzdata2014g
Reviewed-by: mfang, okutsu
2014-09-07 23:04:09 +04:00
Martin Buchholz
95a1c8965d 8056951: pico-optimize contains(Object) methods
Use idiiom >= 0 consistently to check for valid index

Reviewed-by: mduigou
2014-08-29 14:50:15 -07:00
Alan Bateman
2689839d79 8029516: (fs) WatchKey cancel unreliable on Windows
Reviewed-by: chegar
2014-09-05 12:18:31 +01:00
Doug Lea
7eb2dc516c 8056248: Improve ForkJoin thread throttling
Reviewed-by: psandoz, martin
2014-09-05 10:54:28 +02:00
Sean Coffey
9295c94484 8057076: Correct exception message in CertAndKeyGen.java
Reviewed-by: mullan
2014-09-02 22:23:04 +01:00
Naoto Sato
2cbff3dfc4 8038436: Re-examine the mechanism to determine available localedata and cldrdata
Reviewed-by: alanb, mchung, okutsu
2014-09-02 14:11:38 -07:00
Doug Lea
01112ca52a 8056249: Improve CompletableFuture resource usage
Reviewed-by: psandoz, chegar, martin
2014-09-01 13:33:28 +02:00
Ivan Gerasimov
2f0e7c08db 8056310: Cleanup in WinNTFileSystem_md.c
Reviewed-by: alanb
2014-08-29 18:11:04 +04:00
Michael McMahon
77d0374290 8055299: HttpsURLConnection.equals() broken
Reviewed-by: chegar, xuelei
2014-08-28 10:17:55 +01:00
Ivan Gerasimov
e164c8603b 8054714: Use StringJoiner where it makes the code cleaner
Reviewed-by: psandoz, redestad
2014-08-27 22:08:19 +04:00
Martin Buchholz
619ef479f3 8055949: ByteArrayOutputStream capacity should be maximal array size permitted by VM
Try to resize to "well-known" hotspot max array size first.

Reviewed-by: alanb, mduigou
2014-08-25 10:40:55 -07:00
Alejandro Murillo
7bded9c7bf Merge 2014-08-26 11:43:19 -07:00
Ivan Gerasimov
515d0c0a23 8055421: (fs) bad error handling in java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
Reviewed-by: martin, alanb
2014-08-26 15:55:35 +04:00
Alejandro Murillo
04bb1f355b Merge 2014-08-22 10:03:18 -07:00
Chris Hegarty
27d481fa82 8055955: (ch) Remove unnecessary initialization of InetAddress from FileChannel
Reviewed-by: alanb
2014-08-26 10:19:56 +01:00
Weijun Wang
34e103f04b 8055901: Update policytool for jdk.net.NetworkPermission
Reviewed-by: michaelm
2014-08-26 16:42:31 +08:00
Peter Levart
250fbb065a 8049228: Improve multithreaded scalability of InetAddress cache
7186258: InetAddress$Cache should replace currentTimeMillis with nanoTime for more precise and accurate

Reviewed-by: michaelm
2014-08-24 21:52:16 +02:00
Brian Burkhalter
0bbb54fff6 8054720: Modifications of I/O methods for instrumentation purposes
Wrap some native methods in Java methods.

Reviewed-by: rriggs
2014-08-20 11:30:13 -07:00
Masayoshi Okutsu
46c981faef 8055088: Optimization for locale resources loading isn't working
Reviewed-by: naoto
2014-08-19 16:02:48 +09:00
Chris Hegarty
ecac8938b5 Merge 2014-08-18 14:03:21 +01:00
Chris Hegarty
7d146ee898 Merge 2014-08-18 10:59:36 +01:00
Chris Hegarty
3bc69d393d 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@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>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00