< prev index next >

src/java.base/share/classes/sun/security/util/FilePermCompat.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn

*** 1,7 **** /* ! * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 27,37 **** import sun.security.action.GetPropertyAction; import java.io.FilePermission; import java.security.Permission; ! import jdk.internal.misc.SharedSecrets; /** * Take care of FilePermission compatibility after JDK-8164705. */ public class FilePermCompat { --- 27,37 ---- import sun.security.action.GetPropertyAction; import java.io.FilePermission; import java.security.Permission; ! import jdk.internal.access.SharedSecrets; /** * Take care of FilePermission compatibility after JDK-8164705. */ public class FilePermCompat {
< prev index next >