On Wed, 31 May 2023 15:39:54 GMT, Maurizio Cimadamore <[email protected]>
wrote:
>> test/jdk/java/foreign/StdLibTest.java line 386:
>>
>>> 384: return arena.allocateUtf8String("str");
>>> 385: }, "str"),
>>> 386: CHAR(int.class, C_INT, "%c", arena -> (int) 'h', (int) 'h'),
>>> // promote to int, per C spec
>>
>> is it important to retain this, given that there's already an INT case?
>
> Maybe adding a long case would be more useful?
Yes, good idea.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14225#discussion_r1212373879