# HG changeset patch # User rgoel # Date 1448356569 -19800 # Node ID d17e3a87e1464b208d03d0009eff41e841e2cdd1 # Parent 7b1fea58eefed154ef8d604b8297e44dcd634a67 7011840: TEST_BUG java/util/Locale/LocaleEnhanceTest.java Summary: Outputting extra information in LocaleEnhanceTest.java Reviewed-by: peytoia, naoto diff -r 7b1fea58eefe -r d17e3a87e146 jdk/test/java/util/Locale/LocaleEnhanceTest.java --- a/jdk/test/java/util/Locale/LocaleEnhanceTest.java Tue Nov 24 19:02:33 2015 +0300 +++ b/jdk/test/java/util/Locale/LocaleEnhanceTest.java Tue Nov 24 14:46:09 2015 +0530 @@ -1180,8 +1180,11 @@ dataDir = new File(dataDirName); } - if (dataDir == null || !dataDir.isDirectory()) { - errln("Could not locate the serialized test case data location"); + if (dataDir == null) { + errln("'dataDir' is null. serialized.data.dir Property value is "+dataDirName); + return; + } else if (!dataDir.isDirectory()) { + errln("'dataDir' is not a directory. dataDir: "+dataDir.toString()); return; }