< prev index next >

test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java

Print this page
rev 8016 : [mq]: unique-cds

*** 1,7 **** /* ! * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 34,44 **** import com.oracle.java.testlibrary.*; import java.io.File; public class ArchiveDoesNotExist { public static void main(String[] args) throws Exception { ! String fileName = "test.jsa"; File cdsFile = new File(fileName); if (cdsFile.exists()) throw new RuntimeException("Test error: cds file already exists"); --- 34,44 ---- import com.oracle.java.testlibrary.*; import java.io.File; public class ArchiveDoesNotExist { public static void main(String[] args) throws Exception { ! String fileName = "ArchiveDoesNotExist.jsa"; File cdsFile = new File(fileName); if (cdsFile.exists()) throw new RuntimeException("Test error: cds file already exists");
< prev index next >