We released java-gnome 4.0.4 so it'd be great if you could bump the Gentoo package! The ccache patch we created for the 4.0.3 ebuild was merged to 'mainline' at that time, so you won't need it in the 4.0.4 ebuild. AfC
Done.