Bug 1043066

Summary: asm-all.jar and asm-all-distroshaded.jar should not have same manifest data
Product: [Fedora] Fedora Reporter: Roland Grunberg <rgrunber>
Component: objectweb-asm3Assignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: akurtako, caniszczyk, dwalluck, fnasser, java-sig-commits, mgoldman, mizdebsk, msrb, overholt, richardfearn, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.3.1-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-16 05:45:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Roland Grunberg 2013-12-13 21:45:20 UTC
/usr/share/java/objectweb-asm3/asm-all-distroshaded.jar and /usr/share/java/objectweb-asm3/asm-all.jar both have 'Bundle-SymbolicName: org.objectweb.asm', and 'Bundle-Version: 3.3.1' in their manifest. This can cause issues especially since from an OSGi perspective they are identical, yet their classpaths are quite different. I think asm-all-distroshaded.jar should have a 'Bundle-SymbolicName: org.objectweb.distroshaded.asm' .

Also asm-all-distroshaded.jar needs to update its Export-Packages since they assume 'org.objectweb.asm' as a classpath rather than 'org.objectweb.distroshaded.asm'.

Comment 1 Alexander Kurtakov 2013-12-13 22:20:02 UTC
I would rather say distroshaded.jar should not include osgi metadata at all as if it uses weird symbolic name noone will resolve it.

Comment 2 Mikolaj Izdebski 2013-12-16 05:28:32 UTC
Fixed in objectweb-asm3-3.3.1-8

Comment 3 Mikolaj Izdebski 2013-12-16 05:45:56 UTC
I believe that this bug is fixed in objectweb-asm3-3.3.1-8,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=485125