Bug 1095339 - mvel: References sun.misc.Unsafe method removed in OpenJDK 8
Summary: mvel: References sun.misc.Unsafe method removed in OpenJDK 8
Alias: None
Product: Fedora
Classification: Fedora
Component: mvel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1095328
TreeView+ depends on / blocked
Reported: 2014-05-07 13:41 UTC by Florian Weimer
Modified: 2014-05-09 08:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-05-09 08:30:35 UTC
Type: Bug

Attachments (Terms of Use)

Description Florian Weimer 2014-05-07 13:41:33 UTC
The class org.mvel2.util.JITClassLoader references the method sun.misc.Unsafe#defineClass(String, byte[], int, int), which has been removed in OpenJDK 8.

The fix seems to be to call the defineClass() method in the base class unconditionally and remove all code referring to sun.misc.Unsafe.

Comment 1 gil cattaneo 2014-05-07 14:44:54 UTC
pending MVEL 2.2.0.Final (when it is available for download)

see also http://jira.codehaus.org/browse/MVEL-299

Comment 2 gil cattaneo 2014-05-09 08:30:15 UTC
should fixed in mvel-2.1.6-2.fc21
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6830633

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