< prev index next >
test/runtime/Unsafe/ThrowException.java
Print this page
*** 28,40 ****
* @modules java.base/sun.misc
* java.management
* @run main ThrowException
*/
! import com.oracle.java.testlibrary.*;
import sun.misc.Unsafe;
! import static com.oracle.java.testlibrary.Asserts.*;
public class ThrowException {
public static void main(String args[]) throws Exception {
Unsafe unsafe = Utils.getUnsafe();
try {
--- 28,40 ----
* @modules java.base/sun.misc
* java.management
* @run main ThrowException
*/
! import jdk.test.lib.*;
import sun.misc.Unsafe;
! import static jdk.test.lib.Asserts.*;
public class ThrowException {
public static void main(String args[]) throws Exception {
Unsafe unsafe = Utils.getUnsafe();
try {
< prev index next >