376 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Alejandro Murillo
7a3decd3a2 Merge 2016-05-14 09:11:07 -07: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
Alejandro Murillo
ec7cfcc7c6 Merge 2016-05-05 12:35:54 -07:00
Paul Sandoz
37445185d2 8155258: VarHandle implementation improvements
Reviewed-by: shade, vlivanov
2016-05-05 11:39:08 -07:00
Joe Darcy
01ee88c8ae 6850612: Deprecate Class.newInstance since it violates the checked exception language contract
Reviewed-by: lancea, mullan, dfuchs
2016-05-03 10:40:54 -07:00
Claes Redestad
e8cd76568d 8155775: Re-examine naming of privileged methods to access System properties
Reviewed-by: mullan
2016-05-03 15:50:54 +02:00
Alan Bateman
44790114ee Merge 2016-05-03 11:45:56 +01:00
Alan Bateman
36e0820801 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Joe Darcy
ce05d52251 8155792: Add @jls citations to java.lang.String
Reviewed-by: alanb
2016-04-30 16:08:48 -07:00
Paul Sandoz
e955660cf1 8154755: Add a VarHandle weakCompareAndSet with volatile semantics
Reviewed-by: shade, vlivanov
2016-04-29 13:46:19 -07:00
Aleksey Shipilev
4d3fe6b205 8155215: java.lang.String concatenation spec is unnecessarily strong
Reviewed-by: abuckley, sherman, chegar
2016-04-29 23:15:15 +03:00
Aleksey Shipilev
a6f2cdbb0f 8155090: String concatenation fails with a custom SecurityManager that uses concatenation
Reviewed-by: redestad, chegar
2016-04-29 13:24:27 +03:00
Alejandro Murillo
790f20d08d Merge 2016-04-28 14:44:55 -07:00
Michael Haupt
0b7775586f 8155106: MHs.Lookup.findConstructor returns handles for array classes
Reviewed-by: shade, sundar
2016-04-27 20:18:49 +02:00
Daniel Fuchs
1e0d1458a2 8148568: LoggerFinder.getLogger and LoggerFinder.getLocalizedLogger should take a Module argument instead of a Class
Changes System.LoggerFinder methods to take a Module argument instead of a Class.

Reviewed-by: mchung
2016-04-27 18:04:16 +02:00
Paul Sandoz
27f82bea87 8154447: Exempt classes under java.util.concurrent from MH.Lookup restrictions
Reviewed-by: mchung, martin
2016-04-26 18:42:51 -07:00
Paul Sandoz
1af2806677 8154556: Use java.nio.ByteOrder instead of boolean value
Reviewed-by: alanb
2016-04-26 18:30:00 -07:00
Alejandro Murillo
447298f950 Merge 2016-04-22 01:04:01 -07:00
Claes Redestad
2b5207e74d 8154231: Simplify access to System properties from JDK code
Reviewed-by: rriggs, chegar, weijun
2016-04-21 13:39:53 +02:00
Bharadwaj Yadavalli
0869129f03 Merge 2016-04-19 15:26:52 -04:00
Bharadwaj Yadavalli
31987bd5d2 Merge 2016-04-12 14:17:31 -04:00
Alejandro Murillo
b84738d2e3 Merge 2016-04-11 14:21:27 -07:00