- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for ClassNotFoundException (0.13 sec)
-
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) -
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) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
} @Override public Class<?> fromComponentNameToClass(String componentName) { try { return Class.forName(componentName); } catch (ClassNotFoundException e) { return null; } } @Override public Class<?> toCompleteClass(Class<?> clazz) { return clazz; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
public static Object bad(@SuppressWarnings("unused") String a) { return new BadNulls(); } private BadNullsFactory() {} } @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException... ClassSanityTesterTest$AnInterface public void testSerializableOnReturnValues_good() throws Exception { tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)