< prev index next >
test/runtime/Unsafe/ThrowException.java
Print this page
*** 22,38 ****
*/
/*
* @test
* @summary Verify that throwException() can throw an exception
! * @library /testlibrary
* @modules java.base/jdk.internal.misc
* java.management
* @run main ThrowException
*/
! import jdk.test.lib.*;
import jdk.internal.misc.Unsafe;
import static jdk.test.lib.Asserts.*;
public class ThrowException {
public static void main(String args[]) throws Exception {
--- 22,38 ----
*/
/*
* @test
* @summary Verify that throwException() can throw an exception
! * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @run main ThrowException
*/
! import jdk.test.lib.Utils;
import jdk.internal.misc.Unsafe;
import static jdk.test.lib.Asserts.*;
public class ThrowException {
public static void main(String args[]) throws Exception {
< prev index next >