langtools/src/share/classes/com/sun/tools/javac/file/FSInfo.java
changeset 22163 3651128c74eb
parent 22159 682da512ec17
child 24222 244127f8dd79
equal deleted inserted replaced
22162:3b3e23e67329 22163:3651128c74eb
    75 
    75 
    76             String path = attr.getValue(Attributes.Name.CLASS_PATH);
    76             String path = attr.getValue(Attributes.Name.CLASS_PATH);
    77             if (path == null)
    77             if (path == null)
    78                 return Collections.emptyList();
    78                 return Collections.emptyList();
    79 
    79 
    80             List<File> list = new ArrayList<File>();
    80             List<File> list = new ArrayList<>();
    81 
    81 
    82             for (StringTokenizer st = new StringTokenizer(path);
    82             for (StringTokenizer st = new StringTokenizer(path);
    83                  st.hasMoreTokens(); ) {
    83                  st.hasMoreTokens(); ) {
    84                 String elt = st.nextToken();
    84                 String elt = st.nextToken();
    85                 File f = (parent == null ? new File(elt) : new File(parent, elt));
    85                 File f = (parent == null ? new File(elt) : new File(parent, elt));