208 Commits

Author SHA1 Message Date
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
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
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
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
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
Alejandro Murillo
04bb1f355b Merge 2014-08-22 10:03:18 -07: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
Xueming Shen
5ef6775117 8048025: Ensure cache consistency
To support zip entry with null character(s) embedded

Reviewed-by: alanb, weijun
2014-08-07 12:57:23 -07:00
Naoto Sato
47d69e2546 8044274: Proper property processing
Reviewed-by: okutsu
2014-06-24 14:00:01 -07:00
Xue-Lei Andrew Fan
9c20c6fd5f 8043200: Decrease the preference mode of RC4 in the enabled cipher suite list
Reviewed-by: wetmore, ahgross, asmotrak
2014-05-29 04:24:10 +00:00
Michael McMahon
be3dc19dae 8039509: Wrap sockets more thoroughly
Reviewed-by: chegar, alanb
2014-05-28 14:51:24 +01:00
Sean Mullan
91bc3af392 8038908: Make Signature more robust
Reviewed-by: valeriep, skoivu, asmotrak
2014-05-27 08:56:59 -04:00
Anthony Scarpino
0d4528c45f 8042480: CipherInputStream.close() throws AEADBadTagException in some cases
Reviewed-by: xuelei
2014-05-18 23:06:51 +00:00
Martin Buchholz
5e65c0f984 8063147: Class.getFields spec should state that fields are inherited from superinterfaces
Reviewed-by: psandoz, chegar
2014-11-06 13:29:36 -08:00
Martin Buchholz
72f7a2a671 8062194: java.util.jar.Attributes should use insertion-ordered iteration
S/HashMap/LinkedHashMap/g

Reviewed-by: alanb, sherman
2014-10-27 16:24:43 -07:00
Chris Hegarty
187bacb237 8050983: Misplaced parentheses in sun.net.www.http.HttpClient break HTTP PUT streaming
Reviewed-by: michaelm
2014-11-14 18:15:52 +00:00
Sean Mullan
70ef26d4d0 8038364: Use certificate exceptions correctly
Reviewed-by: vinnie, skoivu
2014-05-12 10:18:51 -04:00
Coleen Phillimore
3e5a530aff 8015256: Better class accessibility
Improve protection domain check in forName()

Reviewed-by: mchung, acorn, jdn
2014-07-22 16:24:48 +04:00
Alexander Zuev
6037f786bb 8041529: Better parameterization of parameter lists
Reviewed-by: twisti, ahgross
2014-05-08 21:09:57 +04:00
Vladimir Ivanov
5ce941b143 8037326: VerifyAccess.isMemberAccessible() has incorrect access check
Reviewed-by: jrose, twisti, ahgross
2014-04-23 09:06:22 -10:00