Summary: | dev-java/java-config: make depend-java-query accept wider range of version values | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fat-Zer <fatzer2> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | fatzer2 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | A propoused patch to fix the issue |
Description
Fat-Zer
2015-04-27 12:18:52 UTC
Neither of those makes sense for Java. :* doesn't because all Java software requires a minimum VM version, even if it's something ancient like 1.3 and this is used to set the -source (DEPEND) and -target (RDEPEND) flags. := doesn't for the same reason, plus the fact that Java VMs are highly backwards compatible at runtime. On rare occasions, we have to restrict DEPEND because the build breaks against newer VMs but I don't recall ever having to do that for RDEPEND. Created attachment 402108 [details, diff]
A propoused patch to fix the issue
Here is a propoused patch.
(In reply to James Le Cuirot from comment #1) > Neither of those makes sense for Java. > > :* doesn't because all Java software requires a minimum VM version, even if > it's something ancient like 1.3 and this is used to set the -source (DEPEND) > and -target (RDEPEND) flags. > > := doesn't for the same reason, plus the fact that Java VMs are highly > backwards compatible at runtime. On rare occasions, we have to restrict > DEPEND because the build breaks against newer VMs but I don't recall ever > having to do that for RDEPEND. Ok, so the DEPEND in the Bug 541644 just supposed to be wrong... thanks for quick reply. |