test/tools/javac/api/6440528/T6440528.java

changeset 424
86b773b7cb40
parent 1
9a66ca7c79fa
child 554
9d9f26857129
     1.1 --- a/test/tools/javac/api/6440528/T6440528.java	Tue Oct 13 15:26:30 2009 -0700
     1.2 +++ b/test/tools/javac/api/6440528/T6440528.java	Wed Oct 14 15:41:28 2009 -0700
     1.3 @@ -59,9 +59,9 @@
     1.4      }
     1.5  
     1.6      private File getUnderlyingFile(Object o) throws Exception {
     1.7 -        Field f = o.getClass().getDeclaredField("f");
     1.8 -        f.setAccessible(true);
     1.9 -        return (File)f.get(o);
    1.10 +        Field file = o.getClass().getDeclaredField("file");
    1.11 +        file.setAccessible(true);
    1.12 +        return (File)file.get(o);
    1.13      }
    1.14  
    1.15      public static void main(String... args) throws Exception {

mercurial