Bug 1043066 - asm-all.jar and asm-all-distroshaded.jar should not have same manifest data
Summary: asm-all.jar and asm-all-distroshaded.jar should not have same manifest data
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: objectweb-asm3
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 21:45 UTC by Roland Grunberg
Modified: 2013-12-16 05:45 UTC (History)
11 users (show)

Fixed In Version: 3.3.1-8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 05:45:56 UTC
Type: Bug


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.