63 Commits

Author SHA1 Message Date
Aleksey Shipilev
c25af2a638 8060485: (str) contentEquals checks the String contents twice on mismatch
Reviewed-by: martin, chegar, alanb
2014-10-14 19:35:03 +02:00
Naoto Sato
47d69e2546 8044274: Proper property processing
Reviewed-by: okutsu
2014-06-24 14:00:01 -07: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
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
Olivier Lagneau
7f66469951 8039915: Wrong NumberFormat.format() HALF_UP rounding when last digit exactly at rounding position greater than 5
Fixes erroneous rounding in DigitList for corner cases uncovered previously. Adds dedicated unit tests to TieRoundingTest

Reviewed-by: bpb, darcy
2014-10-14 11:39:07 -07:00
Alejandro Murillo
ab74151264 Merge 2014-10-14 06:04:11 -07:00
Chris Hegarty
1a2e64b98b 8060052: FutureTask; fix underflow when timeout = Long.MIN_VALUE
Reviewed-by: martin
2014-10-11 14:45:27 +01:00
Alejandro Murillo
9dc15d58dc Merge 2014-10-10 02:24:41 -07:00
Kumar Srinivasan
0624731881 8059973: Broken link in Class Pack200
Reviewed-by: mchung
2014-10-09 13:28:15 -07:00
Jason Uh
6ca1b64883 8037550: Update RFC references in javadoc to RFC 5280
Reviewed-by: mullan
2014-10-07 22:23:19 -07:00
Ivan Gerasimov
cb935d3522 8059840: (bb) Typo in javadoc for ByteBuffer.wrap()
Reviewed-by: dfuchs
2014-10-07 14:00:24 +04:00
Vladimir Ivanov
0ffc994611 Merge 2014-10-03 19:42:47 +00:00
Vladimir Ivanov
af1868b9ea 8058892: FILL_ARRAYS and ARRAYS are eagely initialized in MethodHandleImpl
Reviewed-by: kvn, shade
2014-10-03 11:45:36 -07:00
Ivan Gerasimov
629f38682e 8059450: Not quite correct code sample in javadoc
Reviewed-by: chegar
2014-10-01 23:10:34 +04:00
Vinnie Ryan
aeecc19f04 8056026: Debug security logging should print Provider used for each crypto operation
Reviewed-by: mullan
2014-09-25 12:24:19 +01:00
Brent Christian
c0f7675bb7 8050142: Optimize java.util.Formatter
Reviewed-by: sherman, bchristi, lagergren
2014-09-24 15:02:19 -07:00
Aleksey Shipilev
e3bda3bd0a 8058643: (str) Re-examine hashCode implementation
Reviewed-by: martin, alanb, sherman, redestad
2014-09-24 09:43:10 -07:00
Brian Burkhalter
a5187396f5 4477961: java.lang.Math.toDegrees(double) could be optimized
Change toDegrees() and toRadians() to multiplication by a compile-time constant.

Reviewed-by: mduigou, shade
2014-09-22 16:59:23 -07:00
Claes Redestad
579e48fd60 8055032: Improve numerical parsing in java.net and sun.net
Reviewed-by: alanb
2014-09-19 16:34:59 +02:00
Jason Uh
1f56f49cd0 8047223: Add algorithm parameter to EncodedKeySpec class and its two subclasses
Reviewed-by: mullan
2014-09-16 13:20:51 -07:00
Martin Buchholz
865fe20405 8058550: Clarify that TimerTasks are not reusable
Reviewed-by: alanb, chegar
2014-09-18 16:25:50 -07:00
Aleksey Shipilev
20abfd774a 8058661: Compiled LambdaForms should inherit from Object to improve class loading performance
Reviewed-by: vlivanov, jrose
2014-09-18 18:33:05 +04:00
Vladimir Ivanov
475c0a767a 8058293: Bit set computation in MHs.findFirstDupOrDrop/findFirstDrop is broken
Reviewed-by: jrose
2014-09-16 18:05:03 +04:00
Vladimir Ivanov
e490ad1e61 8058291: Missing some checks during parameter validation
Reviewed-by: jrose
2014-09-16 18:05:01 +04:00
Robert Gibson
f5de6e9460 8057793: BigDecimal is no longer effectively immutable
Modify MutableBigInteger.divideAndRemainderBurnikelZiegler() to copy the instance (this) to a new MutableBigInteger to use as the dividend.

Reviewed-by: darcy
2014-09-15 13:05:04 -07:00
Martin Buchholz
3951dda4cf 8056934: ZipInputStream does not correctly handle local header data descriptors with the optional signature missing
Fix off-by-one bug in EXTSIG handling; add docs.

Reviewed-by: sherman, alanb
2014-08-29 12:07:11 -07: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