- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 311 for jdk8 (0.02 seconds)
-
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public static void testSubtypeOfStaticAnonymousClass() { Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass(); assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass)); assertFalse( TypeToken.of(new Mall<Outdoor>().new Shop<Electronics>() {}.getClass()) .isSubtypeOf(superclass)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public static void testSubtypeOfStaticAnonymousClass() { Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass(); assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass)); assertFalse( TypeToken.of(new Mall<Outdoor>().new Shop<Electronics>() {}.getClass()) .isSubtypeOf(superclass)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
// Not supported due to access checks on JDK 9+: // java.lang.reflect.InaccessibleObjectException: Unable to make member of class // sun.security.ssl.SSLSocketFactoryImpl accessible: module java.base does not export // sun.security.ssl to unnamed module @xxx throw UnsupportedOperationException( "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported on JDK 8 (>= 252) or JDK 9+", ) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 3.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
} @Override protected Collection<Method> suppressForConcurrentHashMap() { /* * The entrySet() of ConcurrentHashMap, unlike that of other Map * implementations, supports add() under JDK8. This seems problematic, but I * didn't see that discussed in the review, which included many other * changes: https://mail.openjdk.org/pipermail/core-libs-dev/2013-May/thread.html#17367 *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
} @Override protected Collection<Method> suppressForConcurrentHashMap() { /* * The entrySet() of ConcurrentHashMap, unlike that of other Map * implementations, supports add() under JDK8. This seems problematic, but I * didn't see that discussed in the review, which included many other * changes: https://mail.openjdk.org/pipermail/core-libs-dev/2013-May/thread.html#17367 *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt
assertThat(buildIfSupported()).isNotNull() } @Test fun buildsWhenJdk8() { platform.assumeJdk8() try { SSLSocket::class.java.getMethod("getApplicationProtocol") // also present on JDK8 after build 252. assertThat(buildIfSupported()).isNotNull() } catch (nsme: NoSuchMethodException) { assertThat(buildIfSupported()).isNull() } } @Test fun testToStringIsClassname() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
* unspecified if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
const val PROPERTY_NAME = "okhttp.platform" const val CONSCRYPT_PROPERTY = "conscrypt" const val CORRETTO_PROPERTY = "corretto" const val JDK9_PROPERTY = "jdk9" const val JDK8_ALPN_PROPERTY = "jdk8alpn" const val JDK8_PROPERTY = "jdk8" const val OPENJSSE_PROPERTY = "openjsse" const val BOUNCYCASTLE_PROPERTY = "bouncycastle" const val LOOM_PROPERTY = "loom" /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
} @Override public void writeUTF(String str) throws IOException { ((DataOutputStream) out).writeUTF(str); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0)