Currently support for java is pinned to java 8 because in 11 they removed wsimport. Need to add to the tree a package that provides wsimport and add it as BDEPEND. See also https://bugs.gentoo.org/832166 The error still exists in virtualbox-7.0.2
(In reply to Viorel from comment #0) > Currently support for java is pinned to java 8 because in 11 they removed > wsimport. Need to add to the tree a package that provides wsimport and add > it as BDEPEND. > [...] If you need help when packaging those dependencies ping me on #gentoo-java in libera.chat