so ebuilds that need it can pull it
Created attachment 317600 [details, diff] Untested patch with the common USE flags. This untested patch adds IUSE flags for X, alsa, doc, and nsplugin. These flags are supported by each of the providers for jdk-1.7.0. I used the same flags for the earlier JDK virtuals though, which might be questionable. Some of the providers for the older virtuals are no longer in the tree (e.g. dev-java/soylatte-jdk-bin), and I imagine future versions of the older virtuals should just remove these references. If anyone with more Java experience wants to chime in on the suitablility of this patch, I'd appreciate it!
Thanks, I hope we will discuss it in java team. We should make at least sure that the deps parsing code in java-config will handle use deps. Also for a really proper solution, the java launcher code should take the into account if a JDK supports X/alsa/etc. That means it should indicate such thing in package.env, or we would have to parse USE flags that it was built with.
All jdk implementations with X USE flag are gone. Closing.