Re: What can we improve in JSR292 for Java 9?

2015-03-07 Thread Remi Forax
On 03/07/2015 06:31 AM, John Rose wrote: [...] (I wish we had a similar candidate for invokespecial/super. That is badly twisted around the verifier.) One way to solve the problem is to consider that invokedynamic init is a special 'bytecode' for the verifier and that the verifier will

Re: What can we improve in JSR292 for Java 9?

2015-03-07 Thread Vladimir Ivanov
(Even here there are non-universalities; what if the cleanup wants to see the return value and/or the thrown exception? Should it take those as one or two leading arguments?) Probably, it's too much. Result-agnostic cleanup logic looks like the cleanest solution from API perspective. There are

Re: What can we improve in JSR292 for Java 9?

2015-03-07 Thread Peter Levart
On 03/07/2015 02:53 PM, Remi Forax wrote: On 03/07/2015 06:31 AM, John Rose wrote: [...] (I wish we had a similar candidate for invokespecial/super. That is badly twisted around the verifier.) One way to solve the problem is to consider that invokedynamic init is a special 'bytecode'