libecj-java shouldn't systematically recommend libecj-java-gcj
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecj (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: ecj
libecj-java recommends libecj-java-gcj unconditionally for all architectures. While this was a good thing when gcj was the blessed runtime, this is now less useful with openjdk-6 as our preferred runtime. This pulls some extra weight on the server CDs (as a Tomcat6 dependency) that we could spare.
My proposal is to recommend -gcj conditionally for [arm ia64 powerpc] and suggest it for everyone else, something like:
Recommends: libecj-java-gcj [arm ia64 powerpc], default-
Suggests: libecj-java-gcj [!arm ia64 powerpc], ecj, ant
Let me know if I'm forgetting an arch where -gcj should be recommended rather than suggested.
libecj-java is architecture `all', so afaik we cannot have different recommends for different architectures. when we can do this, we should modify dh_nativejava to generate these.