Bug 854249 - cglib is missing OSGi metadata (which prevents mockito from resolving properly)
Summary: cglib is missing OSGi metadata (which prevents mockito from resolving properly)
Alias: None
Product: Fedora
Classification: Fedora
Component: cglib
Version: 17
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Severin Gehwolf
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-09-04 13:34 UTC by Severin Gehwolf
Modified: 2012-09-18 14:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-09-18 14:47:59 UTC

Attachments (Terms of Use)
Proposed fix (1.78 KB, patch)
2012-09-04 13:34 UTC, Severin Gehwolf
no flags Details | Diff

Description Severin Gehwolf 2012-09-04 13:34:37 UTC
Created attachment 609687 [details]
Proposed fix

Mockito imports classes from net.sf.cglib.proxy. In order for the Import-Package statement to be satisfied for it, cglib needs to export packages (and have OSGi metadata in the first place).

I'm attaching a patch with a proposed fix.

Comment 1 Severin Gehwolf 2012-09-04 13:35:44 UTC
If you prefer, you can give commit privileges to me and I'll push the fix myself. Thoughts?



Comment 2 Severin Gehwolf 2012-09-17 09:00:19 UTC
Any thoughts?

Comment 3 Lubomir Rintel 2012-09-17 11:33:17 UTC
Thanks a lot!

I've approved your ACLs and remove myself from package, since I'm no longer willing to deal with Java stuff. I'd be thankful if you could take the package.

Reassigning the issue to you.

Comment 4 Severin Gehwolf 2012-09-17 11:53:55 UTC
Thanks for responding, Lubomir!

Comment 5 Severin Gehwolf 2012-09-18 14:47:59 UTC
Fixed with:

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