Skip to content

Commit fa92199

Browse files
committed
8361328: cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java archive timestamps comparison failed
Backport-of: 4a351e3e57274df0adee37c472b62f477f75b7b8
1 parent c58c8df commit fa92199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,10 @@ private static void testAutoCreateSharedArchive() throws Exception {
556556
.shouldContain(HELLO_WORLD)
557557
.shouldContain("Dumping shared data to file:");
558558
});
559-
ft2 = Files.getLastModifiedTime(Paths.get(versionB));
559+
ft2 = Files.getLastModifiedTime(Paths.get(versionF));
560560
fileModified = !ft1.equals(ft2);
561561
if (!fileModified) {
562-
throw new RuntimeException("Shared archive " + versionB + " should be created at exit");
562+
throw new RuntimeException("Shared archive " + versionF + " should be created at exit");
563563
}
564564

565565
// 22 create an archive with dynamic magic number only

0 commit comments

Comments
 (0)