How to Install and Uninstall libunsafe-mock-java Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 09,2024

1. Install "libunsafe-mock-java" package

Please follow the instructions below to install libunsafe-mock-java on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libunsafe-mock-java

2. Uninstall "libunsafe-mock-java" package

Please follow the guidance below to uninstall libunsafe-mock-java on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libunsafe-mock-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libunsafe-mock-java package on Ubuntu 21.10 (Impish Indri)

Package: libunsafe-mock-java
Architecture: all
Version: 8.0-3
Priority: optional
Section: universe/java
Source: unsafe-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27
Filename: pool/universe/u/unsafe-mock/libunsafe-mock-java_8.0-3_all.deb
Size: 8156
MD5sum: e0560c922700f1fdbed557202b006a98
SHA1: 1bedaa7b9fa85645c55df333e993b3fac0fb8f24
SHA256: 4b44cf4ca020606884a5f456448edde014798d028c9f2c00c99076a536ed8921
SHA512: b0311f8edefd4ae43db15bde236b2a189af5684ca3c4a9553dd1ed94125b95cb17980eab6679397c342d3e60e702263706b233111dcc4a38041ff9e9b55f10f0
Homepage: https://github.com/headius/unsafe-mock
Description-en: Java library providing backported sun.misc.Unsafe class from JDK 8
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.
Description-md5: 7747000a8a1a405687763d9e244947fb