History log of /openjdk10/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
Revision Date Author Comments
# 17644:a483aac4000b 24-Aug-2017 jjg

8186684: Fix broken links in java.base API docs
Reviewed-by: sherman, martin, mchung, bpb, lancea


# 17562:4df1be9b98d4 10-Aug-2017 jjg

8186052: Fix a11y and HTML issues in the java.base/java.lang[.*] packages
Reviewed-by: smarks


# 17530:c914d1a36293 28-Jul-2017 mchung

8161121: VM::isSystemDomainLoader should consider platform class loader
Reviewed-by: alanb


# 17458:229f964e77f0 12-Jul-2017 jjg

8184208: update class="striped" tables for accessibility
Reviewed-by: lancea, bpb


# 17423:a4efcc9f4fb9 23-Jun-2017 lana

Merge


# 17408:f8b19df2115a 16-Jun-2017 alanb

8181087: Module system implementation refresh (6/2017)
Reviewed-by: plevart, mchung
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com


# 17231:3df8675d352c 18-May-2017 lana

Merge


# 17227:c5b0465f06d0 12-May-2017 psandoz

8180075: Javadoc of MethodHandles.Lookup::bind should note the difference from MethodHandle::bindTo
Reviewed-by: psandoz
Contributed-by: ron.pressler@oracle.com


# 17211:c17e1662bad1 11-May-2017 jjg

8179592: Update tables in java.base to be HTML 5-friendly.
Reviewed-by: mchung, darcy, martin


# 17192:c1754688ce04 11-May-2017 lana

Merge


# 17185:e81bd83cd22a 08-May-2017 mchung

8020801: Apply the restriction of invoking MethodHandles.lookup to j.l.r.Method.invoke
Reviewed-by: plevart, psandoz


# 17163:ab86e2c522db 04-May-2017 alanb

Merge


# 17162:73113c19a5df 04-May-2017 alanb

8178380: Module system implementation refresh (5/2017)
Reviewed-by: mchung, alanb, sspitsyn
Contributed-by: alan.bateman@oracle.com, mandy.chung@oracle.com, chris.hegarty@oracle.com


# 17156:c9299e0bb7b9 11-May-2017 psandoz

8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
Contributed-by: ron.pressler@oracle.com


# 17143:b3601980b5b2 01-May-2017 psandoz

8167229: Improve VarHandle documentation
Reviewed-by: martin, abuckley


# 17142:851a6f27e6cd 01-May-2017 psandoz

8177146: MethodHandles.Lookup::bind allows illegal protected access
Reviewed-by: psandoz, vlivanov, redestad
Contributed-by: ron.pressler@oracle.com


# 17127:bd0e423e5756 26-Apr-2017 jjg

8179364: update "<a name=" in java.base module to use id attribute
Reviewed-by: darcy


# 17000:fa3c4a60a616 07-Apr-2017 alanb

8177530: Module system implementation refresh (4/2017)
Reviewed-by: mchung, alanb
Contributed-by: alan.bateman@oracle.com, mandy.chung@oracle.com


# 16937:085c764a3e5b 22-Mar-2017 alanb

8174823: Module system implementation refresh (3/2017)
Reviewed-by: chegar, mchung, alanb
Contributed-by: alan.bateman@oracle.com, mandy.chung@oracle.com, sundararajan.athijegannathan@oracle.com, peter.levart@gmail.com


# 16690:1c8f054f6278 10-Feb-2017 alanb

8173393: Module system implementation refresh (2/2017)
Reviewed-by: dfuchs, psandoz, mchung, alanb
Contributed-by: alan.bateman@oracle.com, mandy.chung@oracle.com, claes.redestad@oracle.com, alex.buckley@oracle.com, mark.reinhold@oracle.com, john.r.rose@oracle.com


# 16525:547ea8de63cf 19-Jan-2017 psandoz

8160710: Enable Thread to grant VarHandle field access to ThreadLocalRandom/Striped64
Reviewed-by: martin, dl, chegar


# 16288:9aedd62148d4 15-Dec-2016 alanb

8170987: Module system implementation refresh (12/2016)
8170859: Run time and tool support for ModuleResolution
Reviewed-by: redestad, mchung, alanb
Contributed-by: alan.bateman@oracle.com, mandy.chung@oracle.com, chris.hegarty@oracle.com, mark.reinhold@oracle.com, john.r.rose@oracle.com


# 16177:89ef4b822745 01-Dec-2016 alanb

8169069: Module system implementation refresh (11/2016)
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
Contributed-by: alan.bateman@oracle.com, mandy.chung@oracle.com, claes.redestad@oracle.com, mark.reinhold@oracle.com


# 15976:29831b6c481b 01-Nov-2016 psandoz

8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments
Reviewed-by: redestad


# 15717:030fd20df66d 28-Sep-2016 mhaupt

8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz


# 15692:986468d1a0a4 23-Sep-2016 mhaupt

8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad


# 15577:149261d5ece8 12-Sep-2016 redestad

8165492: Reduce number of lambda forms generated by MethodHandleInlineCopyStrategy
Reviewed-by: mhaupt, vlivanov, psandoz, shade


# 15539:74cfa7836890 01-Sep-2016 psandoz

8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd
Reviewed-by: shade, redestad


# 15383:86c9a3475d70 19-Aug-2016 mhaupt

8164102: MethodHandles.countedLoop/4 works incorrect for start/end = Integer.MAX_VALUE
Reviewed-by: redestad


# 15344:1fcefbcdd542 12-Aug-2016 redestad

8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke
Reviewed-by: mhaupt, shade


# 15328:7b894239a5c2 10-Aug-2016 redestad

8163370: Reduce number of classes loaded by common usage of java.lang.invoke
Reviewed-by: igerasim, psandoz


# 15282:0060376192f1 05-Aug-2016 redestad

8161379: Force inline methods calling Reflection.getCallerClass
Reviewed-by: shade, mchung


# 15119:cc79a9897c31 08-Jun-2016 mhaupt

8158571: Additional method handle validation
Reviewed-by: jrose, ahgross, mchung


# 15118:bdc9bedcd3bf 20-May-2016 mhaupt

8155985: Persistent Parameter Processing
Reviewed-by: jrose, vlivanov, ahgross


# 15117:3e2c3cfbfe0c 23-Apr-2016 jrose

8154475: Clean up lookup visibility
Reviewed-by: vlivanov, mhaupt, ahgross


# 14974:abd3693cabcc 07-Jul-2016 srastogi

8158169: MethodHandles.dropArgumentsToMatch(...)
Reviewed-by: psandoz, mhaupt


# 14962:ee7240043bee 05-Jul-2016 amurillo

Merge


# 14959:75bd67096d50 24-Jun-2016 kvn

Merge


# 14957:1ebbf1d90a58 20-Jun-2016 psandoz

8158039: VarHandle float/double field/array access should support CAS/set/add atomics
Reviewed-by: shade, vlivanov, darcy


# 14956:34b4fe4445fa 15-Jun-2016 shade

8157726: VarHandles/Unsafe should support sub-word atomic ops
Reviewed-by: psandoz, vlivanov, lagergren


# 14940:b7da29e8b7f1 04-Jul-2016 mhaupt

8143211: provide bytecode intrinsics for loop and try/finally executors
Reviewed-by: psandoz, redestad, vlivanov


# 14710:ea35f7971115 08-Jun-2016 shade

8158851: MH.publicLookup() init circularity, triggered by custom SecurityManager with String concat and -limitmods java.base
Reviewed-by: alanb, redestad, jlaskey


# 14686:5be0d816aff5 06-Jun-2016 srastogi

8158171: MethodHandles.dropArgumentsToMatch(...) non-documented IAE
Reviewed-by: sundar, mhaupt


# 14675:412d79908e35 02-Jun-2016 mhaupt

8156868: MethodHandles.zero(Class) doc issues
Reviewed-by: psandoz, mhaupt


# 14592:80f1fb052dee 24-May-2016 mhaupt

8157590: MethodHandles.arrayLength() lacks @since tag, implementation throws wrong exception
Reviewed-by: psandoz


# 14496:fd39cefc5c8f 18-May-2016 mhaupt

8156915: introduce MethodHandle factory for array length
Reviewed-by: sundar


# 14302:c0e1a94f27f5 27-Apr-2016 mhaupt

8155106: MHs.Lookup.findConstructor returns handles for array classes
Reviewed-by: shade, sundar


# 14297:248dd87f816f 26-Apr-2016 psandoz

8154447: Exempt classes under java.util.concurrent from MH.Lookup restrictions
Reviewed-by: mchung, martin


# 14296:ee25fcbc9b8c 26-Apr-2016 psandoz

8154556: Use java.nio.ByteOrder instead of boolean value
Reviewed-by: alanb


# 14276:e8217d94b72e 22-Apr-2016 mhaupt

8154754: MethodHandles.countedLoop errors in deriving loop arguments, result type, and local state
Reviewed-by: redestad


# 14275:14065c26ea1a 22-Apr-2016 mhaupt

8154751: MethodHandles.countedLoop does not accept empty bodies
Reviewed-by: redestad


# 14274:beac9a439d0f 22-Apr-2016 mhaupt

8152667: MHs.iteratedLoop(...) throws unexpected WMTE, disallows Iterator subclasses, generates inconsistent loop result type
Reviewed-by: redestad


# 14211:214c1ee32e00 19-Apr-2016 mhaupt

8150956: j.l.i.MethodHandles.whileLoop(...) and .iteratedLoop(...) throw unexpected exceptions in the case of 'init' return type is void
Reviewed-by: psandoz


# 14176:8606d027b2c2 15-Apr-2016 chegar

8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung


# 14160:fa46f5ff7ec1 13-Apr-2016 srastogi

8150829: Enhanced drop-args, identity and default constant, varargs adjustment
Reviewed-by: psandoz, mhaupt, jrose


# 14156:9c64b9eeb312 13-Apr-2016 psandoz

8151705: VarHandle.AccessMode enum names should conform to code style
Reviewed-by: mhaupt, shade, redestad


# 14153:fe806038ae74 13-Apr-2016 mhaupt

8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0
Reviewed-by: psandoz, redestad


# 14076:bf47af65820f 24-Mar-2016 zmajo

Merge


# 14075:c337b8a1e467 24-Mar-2016 psandoz

8149644: Integrate VarHandles
Reviewed-by: coffeys, mhaupt, vlivanov
Contributed-by: paul.sandoz@oracle.com, aleksey.shipilev@oracle.com


# 13938:fbe70dc61f3b 22-Mar-2016 chegar

Merge


# 13905:25e8c082d7ef 13-Mar-2016 mhaupt

8150782: findClass / accessClass throw unexpected exceptions
Reviewed-by: sundar


# 13901:b2a69d66dc65 17-Mar-2016 alanb

8142968: Module System implementation
Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, chris.hegarty@oracle.com, alexandr.scherbatiy@oracle.com, amy.lu@oracle.com, calvin.cheung@oracle.com, daniel.fuchs@oracle.com, erik.joelsson@oracle.com, harold.seigel@oracle.com, jaroslav.bachorik@oracle.com, jean-francois.denise@oracle.com, jan.lahoda@oracle.com, james.laskey@oracle.com, lois.foltan@oracle.com, miroslav.kos@oracle.com, huaming.li@oracle.com, sean.mullan@oracle.com, naoto.sato@oracle.com, masayoshi.okutsu@oracle.com, peter.levart@gmail.com, philip.race@oracle.com, claes.redestad@oracle.com, sergey.bylokhov@oracle.com, alexandre.iline@oracle.com, volker.simonis@gmail.com, staffan.larsen@oracle.com, stuart.marks@oracle.com, semyon.sadetsky@oracle.com, serguei.spitsyn@oracle.com, sundararajan.athijegannathan@oracle.com, valerie.peng@oracle.com, vincent.x.ryan@oracle.com, weijun.wang@oracle.com, yuri.nesterenko@oracle.com, yekaterina.kantserova@oracle.com, alexander.kulyakhtin@oracle.com, felix.yang@oracle.com, andrei.eremeev@oracle.com, frank.yuan@oracle.com, sergei.pikalev@oracle.com, sibabrata.sahoo@oracle.com, tiantian.du@oracle.com, sha.jiang@oracle.com


# 13799:a24ddbbc4beb 02-Mar-2016 mhaupt

8150635: j.l.i.MethodHandles.loop(...) throws IndexOutOfBoundsException
Reviewed-by: psandoz


# 13797:8c2194ad4ca3 02-Mar-2016 mhaupt

8150953: j.l.i.MethodHandles: example section in whileLoop(...) provides example for doWhileLoop
Reviewed-by: psandoz


# 13790:42794e648cfe 29-Feb-2016 mhaupt

8150825: MethodHandles.tryFinally throws IndexOutOfBoundsException for non-conforming parameter lists
Reviewed-by: redestad


# 13768:9d536355b828 23-Feb-2016 mhaupt

8143410: augment pseudo-code descriptions in MethodHandles API
Reviewed-by: psandoz


# 13766:4d1292a702b8 22-Feb-2016 mhaupt

8150360: augment/correct MethodHandle API documentation
Reviewed-by: psandoz


# 13686:c43d5293509c 10-Feb-2016 srastogi

8138884: MethodHandles.Lookup.findVirtual() Javadoc fails to consider private interface methods
Reviewed-by: psandoz, mhaupt


# 13678:60f2a0ea5fa6 08-Feb-2016 mhaupt

8138578: MethodHandles.Lookup.findSpecial() Javadoc fails to consider static methods
Reviewed-by: psandoz, vlivanov, mhaupt
Contributed-by: Shilpi Rastogi <shilpi.rastogi@oracle.com>


# 13459:f5d02fbd8095 14-Jan-2016 mhaupt

8147078: MethodHandles.catchException does not enforce Throwable subtype
Reviewed-by: psandoz, sundar


# 13418:411947bd5f14 06-Jan-2016 chegar

8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, mullan, weijun


# 13336:7373c07f4cca 18-Dec-2015 redestad

8144723: MethodHandleImpl.initStatics is no longer needed
Reviewed-by: vlivanov, mhaupt, forax


# 13256:4d010a9bd0d9 03-Dec-2015 mhaupt

8143343: add JEP 274 Javadoc tests to JavaDocExamplesTest
Reviewed-by: sundar


# 13111:957e4e29ff28 20-Nov-2015 mhaupt

8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov


# 12745:f068a4ffddd2 15-Sep-2015 martin

8136583: Core libraries should use blessed modifier order
Summary: Run blessed-modifier-order script (see bug)
Reviewed-by: psandoz, chegar, alanb, plevart


# 11477:65de62d768a4 20-Feb-2015 shade

8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov


# 11078:cb475099ceac 09-Dec-2014 vlivanov

8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
Reviewed-by: jrose, psandoz


# 11009:fdea482eec4a 24-Nov-2014 vlivanov

8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade


# 10678:50d878aa3d5c 16-Sep-2014 vlivanov

8058293: Bit set computation in MHs.findFirstDupOrDrop/findFirstDrop is broken
Reviewed-by: jrose


# 10677:6fac21b58f2b 16-Sep-2014 vlivanov

8058291: Missing some checks during parameter validation
Reviewed-by: jrose


# 10634:bf4a6fd555b1 10-Sep-2014 vlivanov

8057922: Improve LambdaForm sharing by using LambdaFormEditor more extensively
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10630:5ae5da7305a8 10-Sep-2014 vlivanov

8057656: Improve MethodType.isCastableTo() & MethodType.isConvertibleTo() checks
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10629:ebd039e57fef 10-Sep-2014 vlivanov

8057654: Extract checks performed during MethodHandle construction into separate methods
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10628:9c0d83416951 10-Sep-2014 vlivanov

8050887: Intrinsify constants for default values
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10627:ba93fde22b95 10-Sep-2014 vlivanov

8050884: Intrinsify ValueConversions.identity() functions
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10626:d3b008f1165b 10-Sep-2014 vlivanov

8050877: Improve code for pairwise argument conversions and value boxing/unboxing
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10622:3d298f121e23 10-Sep-2014 vlivanov

8050173: Add j.l.i.MethodHandle.copyWith(MethodType, LambdaForm)
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10621:668e0004905c 10-Sep-2014 vlivanov

8050166: Get rid of some package-private methods on arguments in j.l.i.MethodHandle
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10620:b8fa77e2f498 10-Sep-2014 vlivanov

8050053: Improve caching of different invokers
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10619:af0944eb4bb3 10-Sep-2014 vlivanov

8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
Contributed-by: john.r.rose@oracle.com


# 10444:f08705540498 17-Aug-2014 chegar

8054834: Modular Source Code
Reviewed-by: alanb, chegar, ihse, mduigou
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com