< prev index next >

test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java

Print this page
rev 13329 : 8185436: jtreg: introduce @requires property to disable cds tests
Summary: Fix CompressedClassPointers test to succeed also if cds is not available.

*** 19,30 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /* * @test ArchiveDoesNotExist * @summary Test how VM handles "file does not exist" situation while * attempting to use CDS archive. JVM should exit gracefully * when sharing mode is ON, and continue w/o sharing if sharing * mode is AUTO. * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true) --- 19,31 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /** * @test ArchiveDoesNotExist + * @requires vm.cds * @summary Test how VM handles "file does not exist" situation while * attempting to use CDS archive. JVM should exit gracefully * when sharing mode is ON, and continue w/o sharing if sharing * mode is AUTO. * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true)
< prev index next >