emerging net-misc/whois depends on libidns which installs java even if USE="-java", this causes a problem for sparc users where java-config is masked. libidn says it installs on ~sparc so this appears to be a problem to me.
*** This bug has been marked as a duplicate of 137971 ***