On Mon, 3 Jan 2022 08:10:27 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> Seems like a missing include. C++ docs say `offsetof` is from `<cstddef>`, > adding that include explicitly fixes the build. Seems to only happen with > older GCCs, but it seems to be a happy accident it works on newer ones, > probably through the transitive include somewhere. > > Additional testing: > - [x] Linux x86_64 fastdebug `tools/jpackage` tests > - [x] Linux x86_64 release `tools/jpackage` tests Marked as reviewed by almatvee (Reviewer). ------------- PR: https://git.openjdk.java.net/jdk18/pull/74