The ebuild replaces javadoc installed by kaffe with script executing external gjdoc (through 'echo foo > javadoc'), but it doesn't set +x on the resulting script file.
Created attachment 94769 [details, diff] patch to fix the problem The new script isn't created directly in ${D} but first in $WORKDIR and then installed using doexe.
Fixed in CVS. Thanks for reporting!