src/java.base/share/classes/sun/security/util/FilePermCompat.java
changeset 52427 3c6aa484536c
parent 47216 71c04702a3d5
child 58612 32aff2b7585b
equal deleted inserted replaced
52426:38bf0c9c4e64 52427:3c6aa484536c
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 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
    27 
    27 
    28 import sun.security.action.GetPropertyAction;
    28 import sun.security.action.GetPropertyAction;
    29 
    29 
    30 import java.io.FilePermission;
    30 import java.io.FilePermission;
    31 import java.security.Permission;
    31 import java.security.Permission;
    32 import jdk.internal.misc.SharedSecrets;
    32 import jdk.internal.access.SharedSecrets;
    33 
    33 
    34 /**
    34 /**
    35  * Take care of FilePermission compatibility after JDK-8164705.
    35  * Take care of FilePermission compatibility after JDK-8164705.
    36  */
    36  */
    37 public class FilePermCompat {
    37 public class FilePermCompat {