test/jdk/org/omg/CORBA/jtreg.test.policy
author jjg
Thu, 14 Dec 2017 13:16:33 -0800
changeset 48340 959f2f7cbaa6
parent 47216 71c04702a3d5
permissions -rw-r--r--
8193525: Intermittent failures of TestModulePackages.java Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
43706
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     1
/*
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     2
 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     4
 *
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     7
 * published by the Free Software Foundation.
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     8
 *
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    13
 * accompanied this code).
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    14
 *
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    18
 *
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    21
 * questions.
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    22
 */
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    23
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    24
grant {
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    25
  permission java.util.PropertyPermission "*", "read";
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    26
  permission java.io.FilePermission "<<ALL FILES>>", "read, write, execute";
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    27
};
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    28
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    29
grant codeBase "file:${test.classes}/*" {
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    30
  permission java.net.SocketPermission "*:*", "connect, accept, listen, resolve";
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    31
  permission java.lang.RuntimePermission "accessClassInPackage.com.sun.jndi.cosnaming";
cc2552ae2866 8049375: Extend how the org.omg.CORBA.ORB handles the search for orb.properties
msheppar
parents:
diff changeset
    32
};