There is a new pull request by oreo639 against master on the void-packages repository https://github.com/oreo639/void-packages openjdk9 https://github.com/void-linux/void-packages/pull/39963 openjdk9-bootstrap: fix build with gcc12 #### Testing the changes - I tested the changes in this PR: **briefly** https://github.com/void-linux/void-packages/issues/39809 A patch file from https://github.com/void-linux/void-packages/pull/39963.patch is attached