86 Commits

Author SHA1 Message Date
Joe Darcy
8efc09a66a 8073952: Spec of j.l.r.Method.toString/toGenericString need to be clarified
Reviewed-by: lancea
2015-02-26 18:02:49 -08:00
Joel Borggrén-Franck
cdf8c27ddb 8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
Staffan Larsen
f9c63b42ed 8025636: Hide lambda proxy frames in stacktraces
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Roger Riggs
5d4cdb23e5 8072034: (process) ProcessBuilder.start and Runtime.exec UnsupportedOperationException editorial cleanup
Reviewed-by: alanb
2015-02-12 12:06:36 -05:00
Joe Darcy
42d24e8ed5 8072843: Typo in the description of the j.l.r.Executable.getAnnotatedReceiverType
Reviewed-by: lancea
2015-02-10 11:34:13 -08:00
Dean Long
8a65f6962b Merge 2015-01-31 02:42:15 -05:00
Roger Riggs
0854df7b86 8055330: (process spec) ProcessBuilder.start and Runtime.exec should throw UnsupportedOperationException on platforms that don't support
Clarify optional behavior and the exception thrown when not supported

Reviewed-by: dfuchs, martin
2015-01-30 16:13:04 -05:00
Brian Burkhalter
c2fe1ca470 8067669: Documentation for methods in Number incomplete regarding too large values
Remove statments about rounding and truncation from the *Valud() methods

Reviewed-by: rriggs, darcy, alundblad
2015-01-30 10:23:45 -08:00
Joe Darcy
51e2269c61 8071959: java.lang.Object uses implicit default constructor
Reviewed-by: lancea
2015-01-29 16:16:35 -08:00
Joe Darcy
0841b6a90e 8071434: doc updates for java.lang.Object
Reviewed-by: rriggs
2015-01-29 15:14:44 -08:00
Vladimir Ivanov
55d14bca62 8071788: BlockInliningWrapper.asType() is broken
Reviewed-by: jrose
2015-01-29 10:29:49 -08:00
Vladimir Ivanov
676ea83240 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
Reviewed-by: jrose
2015-01-29 10:29:43 -08:00
Vladimir Ivanov
bfc5193fe7 8069591: Customize LambdaForms which are invoked using MH.invoke/invokeExact
Reviewed-by: jrose, plevart, forax
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
06305c456b 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:27:30 -08:00
Brian Burkhalter
3e68a8af37 8069269: (spec) Defect in the System.nanoTime spec
Change the description of how to compare two nanoTime values.

Reviewed-by: martin
2015-01-26 17:16:57 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Mandy Chung
6888358c94 8055314: Update refactoring for new loader
Reviewed-by: mullan, ahgross, igerasim
2014-08-29 20:16:35 -07:00
Ivan Gerasimov
a7cd12f10a 8067951: System.loadLibrary cannot find library when path contains quoted entry
Reviewed-by: sherman, rriggs, alanb
2015-01-19 19:12:11 +03:00
Joe Darcy
9800aaa84a 8060077: Class.toGenericString specification doesn't mention array types
Reviewed-by: psandoz, jfranck
2015-01-16 14:04:27 -08:00
Claes Redestad
31f50fcff9 8068736: Avoid synchronization on Executable/Field.declaredAnnotations
Reviewed-by: jfranck, psandoz
2015-01-16 12:41:36 +01:00
Lev Priima
7882032236 8067471: Use private static final char[0] for empty Strings
Reviewed-by: igerasim, redestad, shade
2015-01-14 21:35:52 +03:00
Joe Darcy
d332437cae 6481080: (ann) @Deprecated annotation has no effect on packages
Reviewed-by: lancea, alanb, psandoz, abuckley
2015-01-08 10:06:45 -08:00
Martin Buchholz
08eb67b941 8067377: My hobby: caning, then then canning, the the can-can
Fix ALL the stutters!

Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Roger Riggs
b13527e322 8056238: (process) ProcessBuilder.redirectError spec has a broken link
Reviewed-by: lancea
2014-12-12 15:07:00 -05:00
Xueming Shen
b41070012b 8046219: (str spec) String(byte[], int, int, Charset) should be clearer when IndexOutOfBoundsException is thrown
To update the java doc to clarify the existing behavior

Reviewed-by: lancea
2014-12-10 14:11:05 -08:00
Vladimir Ivanov
e0eba41e1c 8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
Reviewed-by: jrose, psandoz
2014-12-09 09:22:07 -08:00
Vladimir Ivanov
ea89dad13c 8057020: LambdaForm caches should support eviction
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Alejandro Murillo
792bc020b9 Merge 2014-12-02 14:36:23 -08:00
Daniel Fuchs
3034f050f9 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Alejandro Murillo
e7d19b374a Merge 2014-11-27 07:16:54 -08:00
Vladimir Ivanov
95ef6e0cb2 8059880: Get rid of LambdaForm interpretation
Reviewed-by: psandoz, kvn, shade
2014-11-24 07:19:36 -08:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Staffan Larsen
63cf080672 Merge 2014-11-24 09:57:03 +01:00
Staffan Larsen
f755ca6acc Merge 2014-11-17 09:36:40 +01:00
Roger Riggs
d5aaa2d8ff 8065372: Object.wait(ms, ns) timeout returns early
Reviewed-by: martin, dholmes
2014-11-19 21:28:26 -05:00
Aleksey Shipilev
4a8e05977e 8059677: Thread.getName() instantiates Strings
Reviewed-by: chegar, dholmes, sla, rriggs
2014-11-13 01:55:21 +03:00
Eric McCorkle
1c54a00f75 8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.

Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Martin Buchholz
8ecf707b8d 8062773: Clarifications for Class specification
Reviewed-by: darcy, psandoz
2014-11-06 13:29:36 -08:00
Claes Redestad
1584416bbc 8062180: MethodHandleImpl.makeArrays throws and swallows java.lang.NoSuchFieldError in normal flow
Reviewed-by: vlivanov, shade
2014-11-06 15:25:56 +01:00
Claes Redestad
678e0c1b0d 8060130: Simplify the synchronization of defining and getting java.lang.Package
Reviewed-by: mchung, plevart, shade
2014-11-06 00:06:26 +01:00
Stuart Marks
b23c39c07b 4354680: Runtime.runFinalization() silently clears interrupted flag in the calling thread
Reviewed-by: dholmes, chegar
2014-10-30 17:48:10 -07:00
Vladimir Ivanov
224c42ee4d 8059877: GWT branch frequencies pollution due to LF sharing
Reviewed-by: psandoz, jrose
2014-10-29 09:31:37 -07:00
Vladimir Ivanov
0c95b0fb5f 8060483: NPE with explicitCastArguments unboxing null
Reviewed-by: attila, lagergren
2014-10-24 08:22:17 -07:00
Alejandro Murillo
d89ff24e1a Merge 2014-10-17 07:58:57 -07:00
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