jdk/test/java/io/File/NulFile.java
changeset 18157 ee3bda8e26c6
parent 17430 c445531b8f6b
child 18807 7d65f90d7348
--- a/jdk/test/java/io/File/NulFile.java	Mon Jun 10 12:58:32 2013 +0100
+++ b/jdk/test/java/io/File/NulFile.java	Mon Jun 10 11:06:26 2013 -0700
@@ -612,7 +612,7 @@
             try {
                 File.createTempFile(prefix, suffix, directory);
             } catch (IOException ex) {
-                if ("Unable to create temporary file".equals(ex.getMessage()))
+                if (ExceptionMsg.equals(ex.getMessage()))
                     exceptionThrown = true;
             }
         }