The pam USE flag does not make it depend on PAM (even if PAM for Java is handled some other way, it should depend on a PAM implementation and modules to be installed). It also does not seem to install a Gentoo-compatible pamd file on its own, if it does use whatever upstream provides, it's probably broken.
should be fixed in 2.8.2 now...