langtools/test/tools/javac/api/6440528/T6440528.java
changeset 27321 c8eceba990bf
parent 27226 53535e4e1b08
child 27852 2e6ad0e4fe20
equal deleted inserted replaced
27320:f0739350a62d 27321:c8eceba990bf
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    64         file.setAccessible(true);
    64         file.setAccessible(true);
    65         return (File)file.get(o);
    65         return (File)file.get(o);
    66     }
    66     }
    67 
    67 
    68     public static void main(String... args) throws Exception {
    68     public static void main(String... args) throws Exception {
    69         new T6440528().test(args);
    69         try (T6440528 t = new T6440528()) {
       
    70             t.test(args);
       
    71         }
    70     }
    72     }
    71 }
    73 }