Re: Signature of MethodHandleInfo.reflectAs is not specific enough

2014-02-28 Thread John Rose
On Feb 25, 2014, at 3:13 AM, Ali Ebrahimi wrote: > I know, this is too late, but I want to share my suggestion: > > public T reflectAs(Class super T> expected, MethodHandles.Lookup lookup) Isn't this the same as public T reflectAs... ? I think we considered AccessibleObject but rejected i

Re: [9] RFR (M): 8027827: Improve performance of catchException combinator

2014-02-28 Thread Vladimir Ivanov
Thanks for review, John! Best regards, Vladimir Ivanov On 2/28/14 12:39 AM, John Rose wrote: > On Feb 26, 2014, at 3:44 AM, Vladimir Ivanov > mailto:vladimir.x.iva...@oracle.com>> wrote: > >>> >>> Maybe use invokeWithArguments with target and catcher? That at least is >>> a one-liner, and probab