On Tue, 23 May 2023 20:32:10 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

> Arguably C `unsigned short` could map to carriers Java `short` or Java 
> `char`, but i am inclined to say the user should cast between Java `short` to 
> `char` in such cases.

(Another advantage of this is that, should we get proper unsigned carriers from 
Valhalla one day, native linkers could be updated to support those en masse - 
not just for `short`)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14037#issuecomment-1560118602

Reply via email to