RFR: 8308293: A linker should expose the layouts it supports [v4]

Maurizio Cimadamore mcimadamore at openjdk.org
Tue May 23 21:03:56 UTC 2023


On Tue, 23 May 2023 20:32:10 GMT, Maurizio Cimadamore <mcimadamore at 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


More information about the core-libs-dev mailing list