src/share/classes/java/sql/SQLPermission.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2013, 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) 1999, 2014, 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
*** 35,45 **** * {@code DriverManager.deregisterDriver} method, * <code>DriverManager.setLogWriter</code> method, * <code>DriverManager.setLogStream</code> (deprecated) method, * {@code SyncFactory.setJNDIContext} method, * {@code SyncFactory.setLogger} method, ! * {@code Connection.setNetworktimeout} method, * or the <code>Connection.abort</code> method. * If there is no <code>SQLPermission</code> object, these methods * throw a <code>java.lang.SecurityException</code> as a runtime exception. * <P> * A <code>SQLPermission</code> object contains --- 35,45 ---- * {@code DriverManager.deregisterDriver} method, * <code>DriverManager.setLogWriter</code> method, * <code>DriverManager.setLogStream</code> (deprecated) method, * {@code SyncFactory.setJNDIContext} method, * {@code SyncFactory.setLogger} method, ! * {@code Connection.setNetworkTimeout} method, * or the <code>Connection.abort</code> method. * If there is no <code>SQLPermission</code> object, these methods * throw a <code>java.lang.SecurityException</code> as a runtime exception. * <P> * A <code>SQLPermission</code> object contains