Bug 1095339

Summary: mvel: References sun.misc.Unsafe method removed in OpenJDK 8
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: mvelAssignee: gil cattaneo <puntogil>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, puntogil
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-09 08:30:35 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1095328    

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