Re: RFR: 8297733: Refactor Cast binding to enum [v2]

2022-12-05 Thread Jorn Vernee
> Refactor the cast binding to an enum, which clearly enumerates all supported > conversions. > > This also fixes a bug where `java/foreign/normalize/TestNormalize` was > failing when running in interpreted mode > (`-Djdk.internal.foreign.DowncallLinker.USE_SPEC=false`), for conversions > from

Re: RFR: 8297733: Refactor Cast binding to enum

2022-11-29 Thread Maurizio Cimadamore
On Mon, 28 Nov 2022 20:13:35 GMT, Jorn Vernee wrote: > Refactor the cast binding to an enum, which clearly enumerates all supported > conversions. > > This also fixes a bug where `java/foreign/normalize/TestNormalize` was > failing when running in interpreted mode > (`-Djdk.internal.foreign.D

RFR: 8297733: Refactor Cast binding to enum

2022-11-29 Thread Jorn Vernee
Refactor the cast binding to an enum, which clearly enumerates all supported conversions. This also fixes a bug where `java/foreign/normalize/TestNormalize` was failing when running in interpreted mode (`-Djdk.internal.foreign.DowncallLinker.USE_SPEC=false`), for conversions from `int` to `byt