1648 Commits

Author SHA1 Message Date
Iris Clark
a950576f78 8144062: Move jdk.Version to java.lang.Runtime.Version
Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz
2016-05-19 12:04:54 -07:00
Mandy Chung
ab6efe7a7d 8157068: ExceptionInInitializerError if images build patched to use exploded version of jdk.internal.module.SystemModules
Reviewed-by: alanb
2016-05-19 11:17:35 -07:00
Aleksey Shipilev
55889705b0 8148604: JEP 280, Switch to more optimal concatenation strategy
Reviewed-by: psandoz, redestad
2016-05-19 16:59:31 +03:00
Alan Bateman
bed9953556 8148834: Update module-info reader/writer to 53.0
Reviewed-by: sundar, chegar
2016-05-19 13:10:08 +01:00
Shilpi Rastogi
8aff72ba65 8149574: Fix java/lang/invoke/MethodHandleImpl's use of Unsafe.defineAnonymousClass()
Reviewed-by: vlivanov, psandoz, sundar, mhaupt
2016-05-19 11:13:52 +02:00
David Holmes
f75ffd3326 8157188: 2 test failures in demo/jvmti due to unexpected class file version 53
Reviewed-by: dsamersoff, alanb
2016-05-19 03:49:41 -04:00
Kumar Srinivasan
ca98819c49 8156807: Pack200 must support v53.0 class files
Reviewed-by: mchung, shade
2016-05-18 11:31:23 -07:00
Xue-Lei Andrew Fan
918a949448 8151856: Note that disabledAlgorithms override the same algorithms of legacyAlgorithms
Reviewed-by: mullan, weijun
2016-05-18 22:55:35 +00:00
Paul Sandoz
0bad445941 8157152: Atomic add for VarHandle byte[]/ByteBuffer views is incorrect for endian conversion
Reviewed-by: fyuan, shade, vlivanov
2016-05-18 18:46:14 +02:00
Athijegannathan Sundararajan
ea55d0b71b 8154192: Deprivilege java.scripting module
Reviewed-by: jlaskey, alanb
2016-05-18 15:03:39 +05:30
Michael Haupt
c4976196f5 8156915: introduce MethodHandle factory for array length
Reviewed-by: sundar
2016-05-18 10:42:29 +02:00
Martin Buchholz
2bb441c404 8157069: Assorted ZipFile improvements
Reviewed-by: sherman
2016-05-16 11:42:31 -07:00
Brian Burkhalter
9cdeece6b6 8130679: Writer/StringWriter.write methods do not specify index out bounds
Add throws tag indicating IndexOutOfBoundsExcepion to write() methods which have an index parameter.

Reviewed-by: chegar, prappo, rriggs
2016-05-17 16:04:53 -07:00
Aleksey Shipilev
33bb9220fc 8157171: Hook up Unsafe.weakCompareAndSetVolatile to VarHandles
Reviewed-by: psandoz, redestad
2016-05-17 22:28:00 +03:00
Alejandro Murillo
7a3decd3a2 Merge 2016-05-14 09:11:07 -07:00
Valerie Peng
dff68b8e33 Merge 2016-05-14 03:45:59 +00:00
Valerie Peng
b40b6a2e8e 8000415: Add support for SHA-3
Add SHA-3 support to SUN and OracleUcrypto provider

Reviewed-by: ascarpino, jnimeh
2016-05-14 03:44:30 +00:00
Nadeesh TV
6c51be077a 8155823: Add date-time patterns 'v' and 'vvvv'
Addded  necessary methodss

Reviewed-by: rriggs, scolebourne
2016-05-13 18:58:32 +00:00
Tobias Hartmann
dd051e31bb 8155608: String intrinsic range checks are not strict enough
Range checks in inflate, compress and getChars are not strict enough.

Reviewed-by: kvn, twisti, jrose
2016-05-13 08:31:23 +02:00
Vaibhav Choudhary
2ab87a9fb7 8150702: change in javadoc for parseObject for MessageFormat - JDK-8073211
Reviewed-by: okutsu, peytoia
2016-05-13 12:52:29 +09:00
Martin Buchholz
a3e3a0da68 8156584: Initialization race in sun.security.x509.AlgorithmId.get
Use safe variant of double-checked locking to initialize oidTable

Reviewed-by: xuelei
2016-05-12 18:57:24 -07:00
Mandy Chung
0f1d1d98bb 8155977: ObjectInputStream::resolveClass & resolveProxyClass for platform loader
Reviewed-by: acorn, alanb, chegar, dfuchs
2016-05-12 11:16:56 -07:00
Christoph Langer
fa1227e9bd 8156521: Minor fixes and cleanups in NetworkInterface.c
Reviewed-by: alanb, chegar, dsamersoff, msheppar
2016-05-12 16:33:37 +01:00
Weijun Wang
07f2c9d05f 8156213: Remove SHA-1 and 3KeyTDEA algorithms from DRBG
Reviewed-by: wetmore, xuelei
2016-05-12 13:06:03 +08:00
Weijun Wang
1a854bcc1e 8156501: DRBG not synchronized at reseeding
Reviewed-by: xuelei
2016-05-12 09:49:42 +08:00
Stuart Marks
e0606a40d3 8156810: remove redundant sentence in SecurityManager.checkMemberAccess doc
Reviewed-by: darcy
2016-05-11 17:37:11 -07:00
Paul Sandoz
bcec429910 8144826: [JVMCI] Remove jdk.vm.ci.hotspot.Stable and use jdk.internal.vm.annotation.Stable
Reviewed-by: twisti
2016-05-11 09:13:45 +02:00
Bhanu Prakash Gopularam
f2dabbdb6a 8062804: IsoFields WEEK_BASED_YEAR and QUARTER_OF_YEAR too lenient
Addded the necessary chck in IsoFields WEEK_BASED_YEAR and QUARTER_OF_YEAR

Reviewed-by: rriggs, scolebourne
2016-05-11 10:28:23 +00:00
Vladimir Ivanov
9f65bd0bf9 Merge 2016-05-11 00:38:26 +03:00
Vladimir Ivanov
f1ce1322c5 Merge 2016-05-11 00:30:33 +03:00
Weijun Wang
7df23eb45e 8154523: SHA1PRNG output should change after setSeed
Reviewed-by: xuelei
2016-05-11 12:32:00 +08:00
Xueming Shen
b45ea8903e 6328855: String: Matches hangs at short and easy Strings containing \r \n
6192895: java.util.regex.Matcher: Performance issue
6345469: java.util.regex.Matcher utilizes 100% of the CPU
6988218: RegEx matcher loops
6693451: RegEx matcher goes into infinite delay
7006761: Matcher.matches() has infinite loop
8140212: Slow performance of Matcher.find
8151481: j.u.regex.Pattern cleanup
6609854: Regex does not match correctly for negative nested character classes
4916384: CANON_EQ supports only combining character sequences with non-spacing marks
4867170: Pattern doesn't work with composite character in CANON_EQ mode
6995635: CANON_EQ pattern flag is buggy
6728861: ExceptionInInitializerError is caught when the pattern has precomposed character
6736245: A character in Composition Exclusion Table does not match itself
7080302: the normalization in java regex pattern may have flaw

Reviewed-by: rriggs, okutsu, alanb
2016-05-10 21:19:25 -07:00
Weijun Wang
772322c6fa 8156709: Cannot call setSeed on NativePRNG on Mac if EGD is /dev/urandom
Reviewed-by: wetmore
2016-05-11 08:39:36 +08:00
Ivan Gerasimov
fcf085c678 8156661: Handful of typos in javadoc
Reviewed-by: prappo, rriggs
2016-05-10 17:16:55 +03:00
Jaroslav Kamenik
553aa43136 8155795: Optimize Integer/Long.reverse by using reverseBytes
Reviewed-by: redestad, shade
2016-05-10 13:28:00 +02:00
Mandy Chung
36b0cdb85a 8153912: Reconsider StackFrame::getFileName and StackFrame::getLineNumber
Add StackFrame::getByteCodeIndex method. Revised getFileName and getLineNumber method.

Reviewed-by: dfuchs, bchristi
2016-05-09 09:35:57 -07:00
Vladimir Ivanov
8b0b5c0fc4 Merge 2016-05-09 13:12:48 +03:00
Vladimir Ivanov
8761e88b55 Merge 2016-05-09 12:39:41 +03:00
Nishit Jain
880dc078b3 8154295: Currency iso code is int and hence looses the preceeding zero
Reviewed-by: naoto, okutsu, peytoia
2016-05-09 17:46:28 +09:00
Xue-Lei Andrew Fan
5df499dd0b 8156502: Use short name of SupportedEllipticCurvesExtension.java
Reviewed-by: vinnie
2016-05-08 23:02:23 +00:00
Nadeesh TV
4900a83203 8079628: java.time: DateTimeFormatter containing "DD" fails on 3-digit day-of-year value`
Change the definition of 'DD' to match with CLDR

Reviewed-by: rriggs, scolebourne
2016-05-08 07:46:19 +00:00
Mikael Vidstedt
2b1fdef17a 8150921: Update Unsafe getters/setters to use double-register variants
Reviewed-by: dholmes, shade, psandoz, jrose
2016-05-06 15:59:27 -07:00
Serguei Spitsyn
55e2b30835 Merge 2016-05-06 20:36:12 +00:00
Serguei Spitsyn
427a2549f6 8156147: NPE in InstrumentationImpl.transform when loading classes from -Xbootclasspath/a
Use the jdk.internal.loader.Bootloader if the loader argument is null

Reviewed-by: alanb
2016-05-06 12:45:04 -07:00
Stuart Marks
b4192cdebc 8139233: add initial compact immutable collection implementations
Reviewed-by: plevart, forax, dfuchs, chegar, alanb, scolebourne
2016-05-06 11:33:32 -07:00
Vladimir Ivanov
c8104ec617 Merge 2016-05-06 19:35:34 +03:00
Vladimir Ivanov
905fb139d7 Merge 2016-05-06 18:21:41 +03:00
Aleksey Shipilev
85f537701c 8155965: Unsafe.weakCompareAndSetVolatile entry points and intrinsics
Reviewed-by: psandoz, vlivanov
2016-05-06 17:59:49 +03:00
Nadeesh TV
386a77fd91 8148949: DateTimeFormatter pattern letters 'A','n','N'
Changed the definition of pattern letters 'A','n','N' because it does not match the definition of CLDR

Reviewed-by: rriggs, scolebourne
2016-05-06 12:48:19 +00:00
Mandy Chung
b58e171061 8155513: Deprivilege jdk.charsets
Reviewed-by: alanb, chegar
2016-05-05 22:39:36 -07:00