Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for ClassNotFoundException (0.21 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

                        if (impl != null) {
                            return (Slf4jConfiguration) Class.forName(impl).newInstance();
                        }
                    } catch (IOException | ClassNotFoundException | IllegalAccessException | InstantiationException ex) {
                        // ignore and move on to the next
                    }
                }
            } catch (IOException ex) {
                // ignore
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          Class.forName(unsafeComparatorClassName());
          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
           * We're probably running on Android.
           *
           * A note on exception types:
           *
           * Android API level 10 throws ExceptionInInitializerError the first time and
           * ClassNotFoundException thereafter.
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        public DecoupledClassLoader(URL[] urls) {
          super(urls);
        }
    
        @Override
        protected synchronized Class<?> loadClass(String name, boolean resolve)
            throws ClassNotFoundException {
          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
            Class<?> clazz = findClass(name);
            if (resolve) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashMultimap.java

        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
        Map<K, Collection<V>> map = Platform.newHashMapWithExpectedSize(12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/FinalizableReferenceQueue.java

            return null;
          }
          if (systemLoader != null) {
            try {
              return systemLoader.loadClass(FINALIZER_CLASS_NAME);
            } catch (ClassNotFoundException e) {
              // Ignore. Finalizer is simply in a child class loader.
              return null;
            }
          } else {
            return null;
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        } catch (ClassNotFoundException e) {
          return false;
        }
        try {
          // If the current environment is null, we're not inside AppEngine.
          return Class.forName("com.google.apphosting.api.ApiProxy")
                  .getMethod("getCurrentEnvironment")
                  .invoke(null)
              != null;
        } catch (ClassNotFoundException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

          s.writeDouble(get(i));
        }
      }
    
      /** Reconstitutes the instance from a stream (that is, deserializes it). */
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
        s.defaultReadObject();
    
        int length = s.readInt();
        ImmutableLongArray.Builder builder = ImmutableLongArray.builder();
        for (int i = 0; i < length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

            .forAllPublicStaticMethods(Suppliers.class)
            .testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
      public void testSuppliersSerializable() throws Exception {
        new ClassSanityTester()
            .setDefault(Duration.class, Duration.ofSeconds(1))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top