test/runtime/memory/ReadFromNoaccessArea.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff test/runtime/memory/ReadFromNoaccessArea.java
test/runtime/memory/ReadFromNoaccessArea.java
Print this page
*** 22,40 ****
*/
/*
* @test
* @summary Test that touching noaccess area in class ReservedHeapSpace results in SIGSEGV/ACCESS_VIOLATION
! * @library /testlibrary /testlibrary/whitebox
* @build ReadFromNoaccessArea
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main ReadFromNoaccessArea
*/
import com.oracle.java.testlibrary.*;
! import sun.hotspot.WhiteBox;
public class ReadFromNoaccessArea {
public static void main(String args[]) throws Exception {
if (!Platform.is64bit()) {
--- 22,40 ----
*/
/*
* @test
* @summary Test that touching noaccess area in class ReservedHeapSpace results in SIGSEGV/ACCESS_VIOLATION
! * @library /testlibrary /../../test/lib
* @build ReadFromNoaccessArea
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
! * jdk.testlib.WhiteBox$WhiteBoxPermission
* @run main ReadFromNoaccessArea
*/
import com.oracle.java.testlibrary.*;
! import jdk.testlib.WhiteBox;
public class ReadFromNoaccessArea {
public static void main(String args[]) throws Exception {
if (!Platform.is64bit()) {
test/runtime/memory/ReadFromNoaccessArea.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File