Java 7 update 12 issue with MethodHandles.catchException.
Christian Thalinger
christian.thalinger at oracle.com
Wed Dec 12 11:33:55 PST 2012
On Dec 12, 2012, at 9:35 AM, "MacGregor, Duncan (GE Energy Management)" <duncan.macgregor at ge.com> 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 Thalinger"
> <christian.thalinger at oracle.com> 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)"
>> <duncan.macgregor at ge.com> wrote:
>>
>>> 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 proper error handling code, we are failing to be bind
>>> properly. The failure occurs with methods with 9 or more arguments where
>>> the last one is an array.
>>>
>>> I've attached a minimal test case which works under update 10 but fails
>>> under update 12 (all tests on Windows x64) and shows the difference in
>>> behaviour with the number of args.
>>> <MethodHandleBug.java>
>>> _______________________________________________
>>> mlvm-dev mailing list
>>> mlvm-dev at openjdk.java.net
>>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>> _______________________________________________
>> mlvm-dev mailing list
>> mlvm-dev at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list