400 Commits

Author SHA1 Message Date
Claes Redestad
a2ed889002 8160000: Runtime.version() cause startup regressions in 9+119
Reviewed-by: mchung, psandoz, erikj, forax, iris
2016-06-28 00:39:26 +02:00
Xueming Shen
6223e843f9 8160312: ArrayIndexOutOfBoundsException when comparing strings case insensitive
Reviewed-by: rriggs
2016-06-27 13:57:24 -07:00
Ivan Gerasimov
e8dfc516f8 8160264: Reuse Latin1/UTF16 compare routines
Reviewed-by: psandoz
2016-06-27 16:09:09 +03:00
Chris Hegarty
c53f3cbcbe 8154017: Shutdown hooks are racing against shutdown sequence, if System.exit()-calling thread is interrupted
Reviewed-by: alanb, dholmes, shade
2016-06-24 06:47:32 +01:00
Roger Riggs
2fce52789b 8155808: Process.getInputStream().skip() method is faulty
For Process input streams, implement skip as read

Reviewed-by: prappo, dfuchs
2016-06-17 15:57:28 -04:00
Alan Bateman
8547893efe 8158456: ModuleDescriptor.read does not verify dependence on java.base in module-info.class
8159248: ModuleFinder.of not clear that FindException thrown if module descriptor cannot be derived for automatic module

Reviewed-by: chegar, mchung
2016-06-17 08:41:39 +01:00
Joe Darcy
b4934af2e2 8159330: Improve deprecation text for Class.newInstance
Reviewed-by: rriggs, weijun
2016-06-14 09:03:12 -07:00
Claes Redestad
3fe3701880 8159334: ModuleDescriptor retains overlapping sets for all and concealed packages
Reviewed-by: alanb, mchung
2016-06-13 14:02:04 +02:00
Joe Darcy
0530bceffc 5041778: (ann) AnnotationFormatError if "default" Class type not found
Reviewed-by: jfranck
2016-06-12 12:14:52 -07:00
Claes Redestad
63715643fa 8158933: String concat stringifiers setup should avoid unnecessary lookups
Reviewed-by: shade
2016-06-09 16:13:09 +02:00
Aleksey Shipilev
41b6361f34 8158851: MH.publicLookup() init circularity, triggered by custom SecurityManager with String concat and -limitmods java.base
Reviewed-by: alanb, redestad, jlaskey
2016-06-08 11:14:45 +03:00
Alejandro Murillo
331a214428 Merge 2016-06-06 12:45:17 -07:00
Naoto Sato
ffd210aefb 8146156: Inconsistent default locale in string formatter methods
Reviewed-by: sherman
2016-06-06 10:52:21 -07:00
Alejandro Murillo
023b8f4338 Merge 2016-06-06 09:58:04 -07:00
Shilpi Rastogi
389fc2ae25 8158171: MethodHandles.dropArgumentsToMatch(...) non-documented IAE
Reviewed-by: sundar, mhaupt
2016-06-06 09:13:35 +02:00
Brent Christian
3af1187ad7 8152893: StackWalker#getCallerClass is not filtering hidden/ reflection frames when walker is configured to show hidden /reflection frames
Reviewed-by: mchung
2016-06-03 17:01:23 -07:00
Mandy Chung
74c27aab0f 8157892: StackFrame::getFileName returns null when a source file exists for native methods
8157977: getByteCodeIndex method from StackFrame does not return negative number when StackFrame is a native frame

Reviewed-by: dfuchs, bchristi
2016-06-02 16:39:14 -07:00
Alejandro Murillo
6e70c4d112 Merge 2016-06-02 14:58:53 -07:00
Michael Haupt
3eec24e560 8156868: MethodHandles.zero(Class) doc issues
Reviewed-by: psandoz, mhaupt
2016-06-02 14:28:16 +02:00
Joe Darcy
77859dc5ca 8158312: Update String.join example code to use List convenience factory methods
Reviewed-by: lancea, smarks
2016-05-31 19:13:21 -07:00
Srikanth Adayapalam
3d91ba0bc6 8033812: javadoc for java.lang.annotation.ElementType needs minor correction
Fix incorrect count of type contexts.

Reviewed-by: mcimadamore
2016-05-28 09:47:28 +05:30
Alejandro Murillo
62c695b852 Merge 2016-05-26 14:24:50 -07:00
Joe Darcy
c1630c7e87 6961865: javadoc for Boolean.valueOf(String) with null argument not clearly specified
Reviewed-by: shade
2016-05-26 13:18:32 -07:00
Mandy Chung
afae52743f 8157877: Clean up StackWalker permission checks
Reviewed-by: lancea, ahgross
2016-05-25 14:05:51 -07:00
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
Vladimir Ivanov
e3aacefb01 Merge 2016-05-24 14:14:18 +03: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
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
Vladimir Ivanov
6faefd3af8 Merge 2016-05-20 18:05:28 +03: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
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
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
Stuart Marks
e0606a40d3 8156810: remove redundant sentence in SecurityManager.checkMemberAccess doc
Reviewed-by: darcy
2016-05-11 17:37:11 -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
Vladimir Ivanov
905fb139d7 Merge 2016-05-06 18:21:41 +03:00
Paul Sandoz
3d8d9fe7fa 8155794: Move Objects.checkIndex BiFunction accepting methods to an internal package
Reviewed-by: chegar, shade, forax, vlivanov
2016-05-05 18:14:47 -07:00