libunsafe-mock-java

Java library providing backported sun.misc.Unsafe class from JDK 8

Description

sun.misc.Unsafe is Java class in Oracle JDKs that provides a collection of methods for performing low-level, unsafe operations.

Although the class and all methods are public, use of this class is limited because only trusted code can obtain instances of it.

unsafe-mock provides a current version of sun.misc.Unsafe that supports all APIs up through the new "fences" API in Java 8 EA builds b71 and later. This Unsafe is a copy of the one from Java 8 EA build b71, and it is expected that if you want to build against it you put it in javac's bootclasspath. You are responsible for determining in your own code whether you can access Unsafe and which methods are available; this library is only to provide an all-inclusive Unsafe against which you can compile using JDKs <= 8.0.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/headius/unsafe-mock


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libunsafe-mock-java