< prev index next >

test/runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java

Print this page

        

*** 26,42 **** * @summary Testing CDS (class data sharing) using varying object alignment. * Using different object alignment for each dump/load pair. * This is a negative test; using object alignment for loading that * is different from object alignment for creating a CDS file * should fail when loading. ! * @library /testlibrary * @bug 8025642 * @modules java.base/jdk.internal.misc * java.management */ ! import jdk.test.lib.*; public class CdsDifferentObjectAlignment { public static void main(String[] args) throws Exception { String nativeWordSize = System.getProperty("sun.arch.data.model"); if (!Platform.is64bit()) { --- 26,44 ---- * @summary Testing CDS (class data sharing) using varying object alignment. * Using different object alignment for each dump/load pair. * This is a negative test; using object alignment for loading that * is different from object alignment for creating a CDS file * should fail when loading. ! * @library /test/lib * @bug 8025642 * @modules java.base/jdk.internal.misc * java.management */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; ! import jdk.test.lib.Platform; public class CdsDifferentObjectAlignment { public static void main(String[] args) throws Exception { String nativeWordSize = System.getProperty("sun.arch.data.model"); if (!Platform.is64bit()) {
< prev index next >