Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for SecurityException (0.24 sec)

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

                if (readClassPathFiles.implies(p)) {
                  throw new SecurityException("Disallowed: " + p);
                }
              }
            };
        System.setSecurityManager(disallowFilesSecurityManager);
        try {
          file.exists();
          fail("Did not get expected SecurityException");
        } catch (SecurityException expected) {
        }
        ClassPath classPath = ClassPath.from(getClass().getClassLoader());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

                if (readClassPathFiles.implies(p)) {
                  throw new SecurityException("Disallowed: " + p);
                }
              }
            };
        System.setSecurityManager(disallowFilesSecurityManager);
        try {
          file.exists();
          fail("Did not get expected SecurityException");
        } catch (SecurityException expected) {
        }
        ClassPath classPath = ClassPath.from(getClass().getClassLoader());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      }
    
      /** Loads Finalizer.class. */
      interface FinalizerLoader {
    
        /**
         * Returns Finalizer.class or null if this loader shouldn't or can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @CheckForNull
        Class<?> loadFinalizer();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      }
    
      /** Loads Finalizer.class. */
      interface FinalizerLoader {
    
        /**
         * Returns Finalizer.class or null if this loader shouldn't or can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @CheckForNull
        Class<?> loadFinalizer();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    reflect.Constructor logImplctor; private void LogSource(); public static void setLogImplementation(String) throws LinkageError, ExceptionInInitializ, NoSuchMethodExceptio, SecurityException, ClassNotFoundExcepti; public static void setLogImplementation(Class) throws LinkageError, ExceptionInInitializ, NoSuchMethodExceptio, SecurityException; public static Log getInstance(String); public static Log getInstance(Class); public static Log makeNewLogInstance(String); public static String[] getLogNames(); static...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Striped64.java

       *
       * @return a sun.misc.Unsafe
       */
      @SuppressWarnings("removal") // b/318391980
      private static sun.misc.Unsafe getUnsafe() {
        try {
          return sun.misc.Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
          return java.security.AccessController.doPrivileged(
              new java.security.PrivilegedExceptionAction<sun.misc.Unsafe>() {
                @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Striped64.java

       *
       * @return a sun.misc.Unsafe
       */
      @SuppressWarnings("removal") // b/318391980
      private static sun.misc.Unsafe getUnsafe() {
        try {
          return sun.misc.Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
          return java.security.AccessController.doPrivileged(
              new java.security.PrivilegedExceptionAction<sun.misc.Unsafe>() {
                @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

            throws IOException {
          try {
            if (!file.exists()) {
              return;
            }
          } catch (SecurityException e) {
            logger.warning("Cannot access " + file + ": " + e);
            // TODO(emcmanus): consider whether to log other failure cases too.
            return;
          }
          if (file.isDirectory()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  9. guava/src/com/google/common/cache/Striped64.java

       *
       * @return a sun.misc.Unsafe
       */
      @SuppressWarnings("removal") // b/318391980
      private static sun.misc.Unsafe getUnsafe() {
        try {
          return sun.misc.Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
          return java.security.AccessController.doPrivileged(
              new java.security.PrivilegedExceptionAction<sun.misc.Unsafe>() {
                @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        /** TODO(lukes): This was copied verbatim from Striped64.java... standardize this? */
        private static sun.misc.Unsafe getUnsafe() {
          try {
            return sun.misc.Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
          }
          try {
            return java.security.AccessController.doPrivileged(
                new java.security.PrivilegedExceptionAction<sun.misc.Unsafe>() {
                  @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top