Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for ClassNotFoundException (0.43 sec)

  1. guava/src/com/google/common/collect/Serialization.java

       * for the data format.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void populateMap(
          Map<K, V> map, ObjectInputStream stream) throws IOException, ClassNotFoundException {
        int size = stream.readInt();
        populateMap(map, stream, size);
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

       * for the data format.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void populateMap(
          Map<K, V> map, ObjectInputStream stream) throws IOException, ClassNotFoundException {
        int size = stream.readInt();
        populateMap(map, stream, size);
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                @Override
                public Class<?> loadClass(String name) throws ClassNotFoundException {
                    if ("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager".equals(name)) {
                        // Simulate class not found
                        throw new ClassNotFoundException(name);
                    }
                    return super.loadClass(name);
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

      private static TempFileCreator pickSecureCreator() {
        try {
          Class.forName("java.nio.file.Path");
          return new JavaNioCreator();
        } catch (ClassNotFoundException runningUnderAndroid) {
          // Try another way.
        }
    
        try {
          int version = (int) Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null);
          int jellyBean =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/Platform.java

          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) requireNonNull(in.readObject());
        } catch (IOException | ClassNotFoundException e) {
          throw new RuntimeException(e);
        }
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          @JvmStatic
          fun isAlpnBootEnabled(): Boolean =
            try {
              Class.forName("org.eclipse.jetty.alpn.ALPN", true, null)
              true
            } catch (cnfe: ClassNotFoundException) {
              false
            }
    
          val isCorrettoSupported: Boolean =
            try {
              // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) {
          @Override
          public Class<?> loadClass(String name) throws ClassNotFoundException {
            if (disallowedClassNames.contains(name)) {
              throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that.");
            }
            if (name.startsWith(concurrentPackage)) {
              Class<?> c = findLoadedClass(name);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) in.readObject();
        } catch (IOException | ClassNotFoundException e) {
          throw new AssertionError(e);
        }
      }
    
      @Override
      public SampleElements<E> samples() {
        return delegate.samples();
      }
    
      @Override
      public E[] createArray(int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/ChecksumHashFunction.java

            Class<?> clazz = Class.forName("java.util.zip.Checksum");
            return MethodHandles.lookup()
                .findVirtual(clazz, "update", MethodType.methodType(void.class, ByteBuffer.class));
          } catch (ClassNotFoundException e) {
            throw new AssertionError(e);
          } catch (IllegalAccessException e) {
            // That API is public.
            throw newLinkageError(e);
          } catch (NoSuchMethodException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top