jdk/test/tools/pack200/CommandLineTests.java
changeset 9009 e7036c254324
parent 6314 8ab691ddb904
child 9734 b33a24d77590
--- a/jdk/test/tools/pack200/CommandLineTests.java	Mon Mar 28 18:04:17 2011 +0800
+++ b/jdk/test/tools/pack200/CommandLineTests.java	Mon Mar 28 13:50:01 2011 -0700
@@ -120,9 +120,9 @@
             // make a backup copy for re-use
             File bakFile = new File(f.getName() + ".bak");
             if (!bakFile.exists()) {  // backup
-                Utils.copyFile(f.getAbsoluteFile(), bakFile.getAbsoluteFile());
+                Utils.copyFile(f, bakFile);
             } else {  // restore
-                Utils.copyFile(bakFile.getAbsoluteFile(), f.getAbsoluteFile());
+                Utils.copyFile(bakFile, f);
             }
             cmdsList.clear();
             cmdsList.add(Utils.getPack200Cmd());