Please bump to support java 1.8 and newer >=virtual/jdk-1.8:* >=virtual/jre-1.8:* Refer to https://archives.gentoo.org/gentoo-dev/message/71ec6a505f3245496d343c506ad21717
Fixed in git. Thanks for reporting this bug.