< prev index next >

test/runtime/memory/ReadFromNoaccessArea.java

Print this page

        

*** 22,41 **** */ /* * @test * @summary Test that touching noaccess area in class ReservedHeapSpace results in SIGSEGV/ACCESS_VIOLATION ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc * java.management ! * @build ReadFromNoaccessArea * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main ReadFromNoaccessArea */ ! import jdk.test.lib.*; import sun.hotspot.WhiteBox; public class ReadFromNoaccessArea { public static void main(String args[]) throws Exception { --- 22,43 ---- */ /* * @test * @summary Test that touching noaccess area in class ReservedHeapSpace results in SIGSEGV/ACCESS_VIOLATION ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management ! * @build sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main ReadFromNoaccessArea */ ! import jdk.test.lib.Platform; ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; import sun.hotspot.WhiteBox; public class ReadFromNoaccessArea { public static void main(String args[]) throws Exception {
< prev index next >