Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newPermissionCollection (0.15 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        File file = null;
        // In Java 9, Logger may read the TZ database. Only disallow reading the class path URLs.
        final PermissionCollection readClassPathFiles =
            new FilePermission("", "read").newPermissionCollection();
        for (URL url : ClassPath.parseJavaClassPath()) {
          if (url.getProtocol().equalsIgnoreCase("file")) {
            file = new File(url.toURI());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        File file = null;
        // In Java 9, Logger may read the TZ database. Only disallow reading the class path URLs.
        final PermissionCollection readClassPathFiles =
            new FilePermission("", "read").newPermissionCollection();
        for (URL url : ClassPath.parseJavaClassPath()) {
          if (url.getProtocol().equalsIgnoreCase("file")) {
            file = new File(url.toURI());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top