--- old/test/java/nio/channels/FileChannel/Size.java 2013-11-19 16:15:30.687467330 -0800 +++ new/test/java/nio/channels/FileChannel/Size.java 2013-11-19 16:15:30.515467335 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2013, 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 @@ -50,7 +50,6 @@ private static void test1() throws Exception { blah = File.createTempFile("blah", null); - blah.deleteOnExit(); for(int i=0; i<100; i++) { long testSize = generator.nextInt(1000); initTestFile(blah, testSize); @@ -90,8 +89,6 @@ * */ private static void initTestFile(File blah, long size) throws Exception { - if (blah.exists()) - blah.delete(); FileOutputStream fos = new FileOutputStream(blah); BufferedWriter awriter = new BufferedWriter(new OutputStreamWriter(fos, "8859_1"));