[Bug 464014] Review Request: findbugs - Find bugs in Java code

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 5 20:33:20 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=464014





--- Comment #9 from Andrew Overholt <overholt at redhat.com>  2009-03-05 15:33:18 EDT ---
(In reply to comment #8)
> > findbugs.noarch: W: class-path-in-manifest /usr/share/java/findbugs-1.3.7.jar
> 
> The ClassPath entry in the manifest is necessary to find dependent jars.  The
> rpmlint complaint about older Java versions no longer applies to any supported
> Fedora release, nor even to the latest RedHat EL.  It is true that versioned
> ClassPath entries are inflexible, but note that I used only unversioned entries.

I'm pretty sure the arguments against ClassPath entries in MANIFEST.MF has to
do with them being inflexible regardless of whether they're versioned or not --
they specify hard-coded paths to JARs.  Ville or Nicholas would be good to
consult on reasoning for this and to get it added to the guidelines so we don't
have to speculate.  I think one of them actually put a note on the Java
guidelines "talk" page.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list