9 Commits

Author SHA1 Message Date
Paul Sandoz
1730680ce7 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
2016-11-01 17:29:48 -07:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Michael Haupt
cafabcafce 8154754: MethodHandles.countedLoop errors in deriving loop arguments, result type, and local state
Reviewed-by: redestad
2016-04-22 15:05:54 +02:00
Michael Haupt
e53e280d37 8154751: MethodHandles.countedLoop does not accept empty bodies
Reviewed-by: redestad
2016-04-22 15:05:26 +02:00
Michael Haupt
5b392c0abc 8152667: MHs.iteratedLoop(...) throws unexpected WMTE, disallows Iterator subclasses, generates inconsistent loop result type
Reviewed-by: redestad
2016-04-22 13:36:22 +02:00
Michael Haupt
402c448d0a 8150956: j.l.i.MethodHandles.whileLoop(...) and .iteratedLoop(...) throw unexpected exceptions in the case of 'init' return type is void
Reviewed-by: psandoz
2016-04-19 14:39:35 +02:00
Michael Haupt
c304110149 8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0
Reviewed-by: psandoz, redestad
2016-04-13 09:20:22 +02:00
Michael Haupt
da0ba02676 8150957: j.l.i.MethodHandles.whileLoop(...) fails with IOOBE in the case init is null, step and pred have parameters
Reviewed-by: psandoz
2016-03-03 14:29:00 +01:00
Michael Haupt
525c0c0972 8150832: split T8139885 into several tests by functionality
Reviewed-by: redestad
2016-03-02 20:36:00 +01:00