Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for ClassNotFoundException (0.49 sec)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
              else -> false
            }
          } catch (e: NoClassDefFoundError) {
            false
          } catch (e: ClassNotFoundException) {
            false
          }
    
        fun buildIfSupported(): ConscryptPlatform? = if (isSupported) ConscryptPlatform() else null
    
        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

              + ")";
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          lock = new Object();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      @SuppressWarnings("unchecked") // reading fields populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

               *
               * Also, it's nice that this approach should let us catch *only* ClassNotFoundException
               * instead of having to catch more broadly (potentially even including, say, a
               * StackOverflowError).
               */
              Class.forName("java.lang.invoke.VarHandle");
            } catch (ClassNotFoundException beforeJava9) {
              return null;
            }
            return new VarHandleAtomicHelper();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/LittleEndianByteArray.java

          @Override
          @J2ObjCIncompatible
          @Nullable LittleEndianBytes tryMakeVarHandleLittleEndianBytes() {
            try {
              Class.forName("java.lang.invoke.VarHandle");
            } catch (ClassNotFoundException beforeJava9) {
              return null;
            }
            return VarHandleLittleEndianBytes.INSTANCE;
          }
        };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

          return (result == null) ? inverseEntrySet = new InverseEntrySet<K, V>(forward) : result;
        }
    
        @GwtIncompatible("serialization")
        private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
          in.defaultReadObject();
          this.forward.inverse = this;
        }
      }
    
      private static final class InverseEntrySet<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            return Jdk8WithJettyBootPlatform(
              putMethod,
              getMethod,
              removeMethod,
              clientProviderClass,
              serverProviderClass,
            )
          } catch (_: ClassNotFoundException) {
          } catch (_: NoSuchMethodException) {
          }
    
          return null
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            Class<? extends Enum> theClass =
                Class.forName(CLASS_VALUE_VALIDATOR_NAME).asSubclass(Enum.class);
            return (GetCheckedTypeValidator) theClass.getEnumConstants()[0];
          } catch (ClassNotFoundException
              | RuntimeException
              | Error t) { // ensure we really catch *everything*
            return weakSetValidator();
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top