To prevent bugs like bug 157496 where it was called on directory, which it didn't install but still recorded in package.env, which broke java-pkg_jar-from on that package.
Seems this has been fixed: >>> Install dummy-1.0 into /var/tmp/portage/dev-java/dummy-1.0/image/ category dev-java !!! ERROR: dev-java/dummy-1.0 failed. Call stack: ebuild.sh, line 1611: Called dyn_install ebuild.sh, line 1057: Called qa_call 'src_install' environment, line 4350: Called src_install dummy-1.0.ebuild, line 17: Called java-pkg_newjar '/var/tmp/portage/dev-java/dummy-1.0/work' java-utils-2.eclass, line 305: Called die !!! /var/tmp/portage/dev-java/dummy-1.0/work does not exist or is not a file! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-java/dummy-1.0/temp/build.log'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info !!! This ebuild is from an overlay: '/mnt/checkouts/overlays/betelgeuse' src_install() { java-pkg_newjar "${WORKDIR}" }