--- 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());