< prev index next >

test/hotspot/jtreg/runtime/appcds/TestCommon.java

Print this page
rev 52787 : 8226406: JVM fails to detect mismatched or corrupt CDS archive
Summary: Check important archive header fields such as _jvm_ident before processing other fields.
Reviewed-by: iklam, jiangli

*** 71,80 **** --- 71,84 ---- // Call this method to get current archive name public static String getCurrentArchiveName() { return currentArchiveName; } + public static void setCurrentArchiveName(String archiveName) { + currentArchiveName = archiveName; + } + // Attempt to clean old archives to preserve space // Archives are large artifacts (20Mb or more), and much larger than // most other artifacts created in jtreg testing. // Therefore it is a good idea to clean the old archives when they are not needed. // In most cases the deletion attempt will succeed; on rare occasion the
< prev index next >