RFR: 8308031: Linkers should reject unpromoted variadic parameters
Jorn Vernee
jvernee at openjdk.org
Wed May 31 22:22:07 UTC 2023
On Wed, 31 May 2023 15:39:54 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> 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
More information about the core-libs-dev
mailing list