839 Commits

Author SHA1 Message Date
Alan Bateman
bfb7fba79b 8156142: ModuleReader instances don't always throw NPE for passed null args
Reviewed-by: chegar, mchung
2016-05-25 20:12:32 +01:00
Alan Bateman
53e204dc49 8150668: Layer.defineModulesXXX with a Configuration containing java.base throws undocumented exception
Reviewed-by: chegar, mchung
2016-05-25 19:58:03 +01:00
Joe Darcy
072a878dbb 8157724: Improve javadoc tag usage in java.math
Reviewed-by: bpb
2016-05-24 13:51:35 -07:00
Vyom Tewari
af7a591d39 8016521: InetAddress should not always re-order addresses returned from name service
Reviewed-by: chegar
2016-05-24 20:15:18 +01:00
Doug Lea
27a77176a6 8153768: Miscellaneous changes imported from jsr166 CVS 2016-05
Reviewed-by: martin, psandoz, chegar, shade
2016-05-24 10:14:41 -07:00
Vyom Tewari
6bd865a6b4 8143923: java.net socket supportedOptions set depends on call order
Reviewed-by: chegar
2016-05-24 12:31:30 +01:00
Alan Bateman
fe609fd3cb 8157598: ModuleReader find returns incorrect URI when modular JAR is a multi-release JAR
Reviewed-by: chegar, mchung
2016-05-24 11:31:25 +01:00
Michael Haupt
73dea49766 8157590: MethodHandles.arrayLength() lacks @since tag, implementation throws wrong exception
Reviewed-by: psandoz
2016-05-24 09:13:47 +02:00
Martin Buchholz
d1d3cba9db 8157613: Internal documentation improvements to ZipFile.java
Reviewed-by: plevart, sherman
2016-05-23 12:44:55 -07:00
Xueming Shen
7be8e94544 8147588: Jar file and Zip file not removed in spite of the OPEN_DELETE flag
Reviewed-by: alanb
2016-05-23 12:53:56 -07:00
Weijun Wang
ae0c75bb38 8157526: 3KeyTDEA word left in DRBG after JDK-8156213
Reviewed-by: xuelei
2016-05-23 09:31:58 +08:00
Joe Darcy
edf1a42740 8157527: Replace @since 1.9 with @since 9 on new math methods
Reviewed-by: chegar
2016-05-22 18:23:02 -07:00
Jan Lahoda
4b64ab9bb5 8157502: make docs broken after JDK-5100935
Correcting reference to Math::multiplyFull.

Reviewed-by: alanb
2016-05-21 13:18:15 +02:00
Alan Bateman
ce04e9d9a2 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:01:03 +01:00
Brian Burkhalter
3497da36a2 8023217: Additional floorDiv/floorMod/multiplyExact methods for java.lang.Math
Add new methods with long, int signatures.

Reviewed-by: darcy, scolebourne
2015-09-29 17:28:44 -07:00
Joe Darcy
4045a8be07 4851777: Add BigDecimal sqrt method
Reviewed-by: bpb
2016-05-20 15:34:37 -07:00
Brian Burkhalter
8c58aff49d 5100935: No way to access the 64-bit integer multiplication of 64-bit CPUs efficiently
Add methods multiplyFull() and multiplyHigh() to Math and StrictMath.

Reviewed-by: darcy
2016-05-20 14:41:41 -07:00
Xueming Shen
5330dbf8e4 8143282: \p{Cn} unassigned code points should be included in \p{C}
To add unassigned cp support into \p{C}

Reviewed-by: martin
2016-05-20 12:47:41 -07:00
Svetlana Nikandrova
d90c351322 8155575: Provider.java contains very long lines because of lambda
Reviewed-by: ascarpino
2016-05-20 11:12:02 -07:00
Paul Sandoz
65a33061ce 8157437: Typos in Stream JavaDoc
Reviewed-by: shade, alanb, lancea
2016-05-20 14:07:21 +02:00
Paul Sandoz
53ef4fecbf 8130023: API java.util.stream: explicitly specify guaranteed execution of the pipeline
Reviewed-by: briangoetz, redestad
2016-05-20 11:47:39 +02:00
Nishit Jain
93f4f6c1b5 7102969: currency.properties supercede not working correctly
8149452: j.t.SimpleDateFormat.getDateFormatSymbols().getZoneStrings() returns incorrect result for some time zones
8157138: Error while fetching currency instance by Currency.getInstance(currencycode)

Reviewed-by: naoto, okutsu, peytoia
2016-05-20 13:48:58 +09:00
Brent Christian
0260528ef9 8029891: Deadlock detected in java/lang/ClassLoader/deadlock/GetResource.java
Properties now stores values in an internal ConcurrentHashMap

Reviewed-by: mchung, dholmes, plevart
2016-05-19 16:25:35 -07:00
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
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
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
ffaebaa66e Merge 2016-05-17 05:38:15 -07:00
Paul Sandoz
44afe20e99 8156485: MethodHandles.varHandleExactInvoker should perform exact checks
Reviewed-by: vlivanov
2016-05-17 12:06:41 +02:00
Pavel Rappo
baf59c0bd8 8150785: (bf) Hoist slice and duplicate methods up to java.nio.Buffer
Reviewed-by: alanb, rriggs, chegar
2016-05-16 15:10:04 +01:00
Paul Sandoz
00883c0dc9 8154049: DualPivot sorting calculates incorrect runs for nearly sorted arrays
Reviewed-by: shade
2016-05-16 07:01:26 +02:00
Alejandro Murillo
7a3decd3a2 Merge 2016-05-14 09:11:07 -07: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
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
Mandy Chung
0f1d1d98bb 8155977: ObjectInputStream::resolveClass & resolveProxyClass for platform loader
Reviewed-by: acorn, alanb, chegar, dfuchs
2016-05-12 11:16:56 -07: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
Stuart Marks
e0606a40d3 8156810: remove redundant sentence in SecurityManager.checkMemberAccess doc
Reviewed-by: darcy
2016-05-11 17:37:11 -07: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
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
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
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