Currently the icedtea6-bin ebuild/package doesn't provide the JavaScript capability. This capability is enabled in the dev-java/icedtea ebuild through the dev-java/rhino. Most binary builds of OpenJDK also have it enabled by default. It would be nice if this could be bundled in the dev-java/icedtea6-bin package as well. Common use is in the Apache Ant build scripts. Reproducible: Always
icedtea6-bin is mainly meant for easier bootstrapping of source-based icedtea, so we don't aim to make it feature complete. Is there a reason you can't use the source-based icedtea?
The main reason I went for icedtea6-bin in the beginning was due to icedtea package being testing for my arch (and for what matters, for all arches). I've switched to using the icedtea package now, but I still think it would be a nice feature since by emerging the icedtea6-bin you don't have to pull in a lot of other packages required for building the icedtea package. Adding a small elog message to the current icedtea6-bin ebuilds might be useful, though (i.e. let people know that icedtea6-bin is built with a limited set of features and direct them to icedtea for more features).
Although this could still potentially be done for icedtea-bin:7, I don't believe it is worth it, especially now that icedtea:8 does not use Rhino for JavaScript. It comes with Nashorn instead.