jdk/test/java/util/jar/JarEntry/GetMethodsReturnClones.java
changeset 32649 2ee9017c7597
parent 9035 1255eb81cc2f
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    34 import java.util.*;
    34 import java.util.*;
    35 import java.util.jar.*;
    35 import java.util.jar.*;
    36 
    36 
    37 public class GetMethodsReturnClones {
    37 public class GetMethodsReturnClones {
    38 
    38 
    39     private final static String BASE = System.getProperty("test.src", ".") +
    39     private static final String BASE = System.getProperty("test.src", ".") +
    40         System.getProperty("file.separator");
    40         System.getProperty("file.separator");
    41 
    41 
    42     public static void main(String[] args) throws Exception {
    42     public static void main(String[] args) throws Exception {
    43         List<JarEntry> entries = new ArrayList<>();
    43         List<JarEntry> entries = new ArrayList<>();
    44         try (JarFile jf = new JarFile(BASE + "test.jar", true)) {
    44         try (JarFile jf = new JarFile(BASE + "test.jar", true)) {