src/java.base/share/classes/java/io/File.java
changeset 48435 20fe8cd3179d
parent 47216 71c04702a3d5
child 52220 9c260a6b6471
equal deleted inserted replaced
48434:2d250a0174a6 48435:20fe8cd3179d
     1 /*
     1 /*
     2  * Copyright (c) 1994, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1994, 2018, 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.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  2254     // -- Integration with java.nio.file --
  2254     // -- Integration with java.nio.file --
  2255 
  2255 
  2256     private transient volatile Path filePath;
  2256     private transient volatile Path filePath;
  2257 
  2257 
  2258     /**
  2258     /**
  2259      * Returns a {@link Path java.nio.file.Path} object constructed from the
  2259      * Returns a {@link Path java.nio.file.Path} object constructed from
  2260      * this abstract path. The resulting {@code Path} is associated with the
  2260      * this abstract path. The resulting {@code Path} is associated with the
  2261      * {@link java.nio.file.FileSystems#getDefault default-filesystem}.
  2261      * {@link java.nio.file.FileSystems#getDefault default-filesystem}.
  2262      *
  2262      *
  2263      * <p> The first invocation of this method works as if invoking it were
  2263      * <p> The first invocation of this method works as if invoking it were
  2264      * equivalent to evaluating the expression:
  2264      * equivalent to evaluating the expression: