Bug 1152244 - Review Request: unsafe-mock - A mock of sun.misc.Unsafe
Summary: Review Request: unsafe-mock - A mock of sun.misc.Unsafe
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1152249
TreeView+ depends on / blocked
Reported: 2014-10-13 17:21 UTC by Mo Morsi
Modified: 2014-10-16 18:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:
Type: ---
msrb: fedora-review?

Attachments (Terms of Use)

Description Mo Morsi 2014-10-13 17:21:50 UTC
Spec URL: https://mmorsi.fedorapeople.org/staging/unsafe-mock.spec
SRPM URL: https://mmorsi.fedorapeople.org/staging/unsafe-mock-8.0-1.fc20.src.rpm
A mock of sun.misc.Unsafe for the JRuby build system

Fedora Account System Username: mmorsi

Comment 1 Michal Srb 2014-10-15 05:41:15 UTC
This package is a bit controversial, because it basically bundles sun.misc.Unsafe from JDK8. And it looks like it's not really needed in Fedora. If I understand it correctly, it's only a build-time dependency of JRuby. Upstream uses this JAR as a placeholder for JDK8's sun.misc.Unsafe class and they build JRuby against it. Since Fedora 21+ comes with Java 8 (only), wouldn't be easier to just remove this dependency from pom.xml file?

Comment 2 Mo Morsi 2014-10-16 18:07:59 UTC
Sounds reasonable (assuming the dep is satisfied by the Java8 in Fedora). Lets proceed w/ the other deps & try to build JRuby w/out this. If all goes well, can just close this issue.

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