Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AdjustablePolicy (0.11 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          } finally {
            System.setSecurityManager(null);
            Policy.setPolicy(savedPolicy);
          }
        } else {
          Policy savedPolicy = Policy.getPolicy();
          AdjustablePolicy policy = new AdjustablePolicy(permissions);
          Policy.setPolicy(policy);
    
          try {
            r.run();
          } finally {
            policy.addPermission(new SecurityPermission("setPolicy"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          } finally {
            System.setSecurityManager(null);
            Policy.setPolicy(savedPolicy);
          }
        } else {
          Policy savedPolicy = Policy.getPolicy();
          AdjustablePolicy policy = new AdjustablePolicy(permissions);
          Policy.setPolicy(policy);
    
          try {
            r.run();
          } finally {
            policy.addPermission(new SecurityPermission("setPolicy"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top