langtools/test/tools/javac/api/6440528/T6440528.java
changeset 4073 9788f4549740
parent 10 06bc494ca11e
child 5520 86e4b9a9da40
equal deleted inserted replaced
4072:70eaf9773f81 4073:9788f4549740
    57         System.err.println("Expected: " + expect);
    57         System.err.println("Expected: " + expect);
    58         System.err.println("Got:      " + got);
    58         System.err.println("Got:      " + got);
    59     }
    59     }
    60 
    60 
    61     private File getUnderlyingFile(Object o) throws Exception {
    61     private File getUnderlyingFile(Object o) throws Exception {
    62         Field f = o.getClass().getDeclaredField("f");
    62         Field file = o.getClass().getDeclaredField("file");
    63         f.setAccessible(true);
    63         file.setAccessible(true);
    64         return (File)f.get(o);
    64         return (File)file.get(o);
    65     }
    65     }
    66 
    66 
    67     public static void main(String... args) throws Exception {
    67     public static void main(String... args) throws Exception {
    68         new T6440528().test(args);
    68         new T6440528().test(args);
    69     }
    69     }