--- old/modules/controls/src/test/java/javafx/scene/control/ControlTest.java 2014-11-06 22:54:56.000000000 +0300 +++ new/modules/controls/src/test/java/javafx/scene/control/ControlTest.java 2014-11-06 22:54:56.000000000 +0300 @@ -991,11 +991,16 @@ @Test public void testRT18097() { try { - ClassLoader cl = Thread.currentThread().getContextClassLoader(); - URL base = cl.getResource("javafx/.."); - File f = new File(base.toURI()); - System.out.println(f.getPath()); - recursiveCheck(f, f.getPath().length()); + File f = System.getProperties().containsKey("CSS_META_DATA_TEST_DIR") ? + new File(System.getProperties().get("CSS_META_DATA_TEST_DIR").toString()) : + null; + if (f == null) { + ClassLoader cl = Thread.currentThread().getContextClassLoader(); + URL base = cl.getResource("javafx/../javafx"); + f = new File(base.toURI()); + } + //System.err.println(f.getPath()); + recursiveCheck(f, f.getPath().length() - 7); } catch (Exception ex) { ex.printStackTrace(System.err); fail(ex.getMessage()); @@ -1044,7 +1049,7 @@ } catch (NoSuchMethodException ex) { fail("NoSuchMethodException: RT-18097 cannot be tested on " + what); } catch (IllegalAccessException ex) { - fail("IllegalAccessException: RT-18097 cannot be tested on " + what); + System.err.println("IllegalAccessException: RT-18097 cannot be tested on " + what); } catch (IllegalArgumentException ex) { fail("IllegalArgumentException: RT-18097 cannot be tested on " + what); } catch (InvocationTargetException ex) {