< prev index next >

test/runtime/ErrorHandling/CreateCoredumpOnCrash.java

Print this page
rev 8631 : 8130676: [TESTBUG] aix: Port CreateCoreDumpOnCrash added in 8078121
Reviewed-by: simonis

@@ -36,11 +36,11 @@
 import sun.misc.Unsafe;
 
 public class CreateCoredumpOnCrash {
     private static class Crasher {
         public static void main(String[] args) {
-            Utils.getUnsafe().getInt(0);
+            Utils.getUnsafe().putInt(0L, 0);
         }
     }
 
     public static void main(String[] args) throws Exception {
         runTest("-XX:-CreateCoredumpOnCrash").shouldContain("CreateCoredumpOnCrash turned off, no core file dumped");
< prev index next >