diff options
Diffstat (limited to 'src/share/sample/nio/file/Chmod.java')
-rw-r--r-- | src/share/sample/nio/file/Chmod.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/share/sample/nio/file/Chmod.java b/src/share/sample/nio/file/Chmod.java index 321f455255..05c16b9963 100644 --- a/src/share/sample/nio/file/Chmod.java +++ b/src/share/sample/nio/file/Chmod.java @@ -29,6 +29,15 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* + * This source code is provided to illustrate the usage of a given feature + * or technique and has been deliberately simplified. Additional steps + * required for a production-quality application, such as security checks, + * input validation and proper error handling, might not be present in + * this sample code. + */ + + import java.nio.file.*; import java.nio.file.attribute.*; import static java.nio.file.attribute.PosixFilePermission.*; |