Java 7 update 12 issue with MethodHandles.catchException.

2012-12-12 Thread MacGregor, Duncan (GE Energy Management)
Finally got time to try running our full application under 7u12 and I've hit a problem with our database library. In two cases where we are combining method handles to catch exceptions from a library method, process those exceptions to fill in our own error information and then fallback to the p

Re: Java 7 update 12 issue with MethodHandles.catchException.

2012-12-12 Thread Christian Thalinger
Do you see the same failure with 8 (to rule out differences between 7u12 and 8)? -- Chris On Dec 12, 2012, at 7:12 AM, "MacGregor, Duncan (GE Energy Management)" wrote: > Finally got time to try running our full application under 7u12 and I've hit > a problem with our database library. In two

Re: Java 7 update 12 issue with MethodHandles.catchException.

2012-12-12 Thread MacGregor, Duncan (GE Energy Management)
I do see the failure with 8 as well. On 12/12/2012 17:31, "Christian Thalinger" wrote: >Do you see the same failure with 8 (to rule out differences between 7u12 >and 8)? > >-- Chris > >On Dec 12, 2012, at 7:12 AM, "MacGregor, Duncan (GE Energy Management)" > wrote: > >> Finally got time to try r

Re: Java 7 update 12 issue with MethodHandles.catchException.

2012-12-12 Thread Christian Thalinger
On Dec 12, 2012, at 9:35 AM, "MacGregor, Duncan (GE Energy Management)" wrote: > I do see the failure with 8 as well. That helps. I can't recall code that has a "8 argument limitation" and does something else with 9+. Maybe John has an idea. -- Chris > > On 12/12/2012 17:31, "Christian T

Re: Java 7 update 12 issue with MethodHandles.catchException.

2012-12-12 Thread John Rose
On Dec 12, 2012, at 11:33 AM, Christian Thalinger wrote: > That helps. I can't recall code that has a "8 argument limitation" and does > something else with 9+. Maybe John has an idea. The bug is probably in GuardWithCatch.invoke_V, in this file: http://hg.openjdk.java.net/jdk8/jdk8/jdk/fil

Re: Java 7 update 12 issue with MethodHandles.catchException.

2012-12-12 Thread Jochen Theodorou
Am 12.12.2012 20:42, schrieb John Rose: > On Dec 12, 2012, at 11:33 AM, Christian Thalinger wrote: > >> That helps. I can't recall code that has a "8 argument limitation" >> and does something else with 9+. Maybe John has an idea. > > The bug is probably in GuardWithCatch.invoke_V, in this file: