Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Jdk9Platform (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

                true
              } catch (nsme: NoSuchMethodException) {
                false
              }
            }
        }
    
        fun buildIfSupported(): Jdk9Platform? = if (isAvailable) Jdk9Platform() else null
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/graal/GraalSvm.kt

    import okhttp3.internal.platform.BouncyCastlePlatform
    import okhttp3.internal.platform.ConscryptPlatform
    import okhttp3.internal.platform.Jdk8WithJettyBootPlatform
    import okhttp3.internal.platform.Jdk9Platform
    import okhttp3.internal.platform.OpenJSSEPlatform
    import okhttp3.internal.platform.Platform
    
    @TargetClass(AndroidPlatform::class)
    @Delete
    class TargetAndroidPlatform
    
    @TargetClass(Android10Platform::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/platform/Jdk9PlatformTest.kt

        } catch (nsme: NoSuchMethodException) {
          assertThat(buildIfSupported()).isNull()
        }
      }
    
      @Test
      fun testToStringIsClassname() {
        assertThat(Jdk9Platform().toString()).isEqualTo("Jdk9Platform")
      }
    
      @Test
      fun selectedProtocolIsNullWhenSslSocketThrowsExceptionForApplicationProtocol() {
        platform.assumeJdk9()
        val applicationProtocolUnsupported =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

            if (openJSSE != null) {
              return openJSSE
            }
          }
    
          // An Oracle JDK 9 like OpenJDK, or JDK 8 251+.
          val jdk9 = Jdk9Platform.buildIfSupported()
    
          if (jdk9 != null) {
            return jdk9
          }
    
          // An Oracle JDK 8 like OpenJDK, pre 251.
          val jdkWithJettyBoot = Jdk8WithJettyBootPlatform.buildIfSupported()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

    import java.lang.reflect.Method
    import java.security.Security
    import okhttp3.TestUtil
    import okhttp3.internal.platform.ConscryptPlatform
    import okhttp3.internal.platform.Jdk8WithJettyBootPlatform
    import okhttp3.internal.platform.Jdk9Platform
    import okhttp3.internal.platform.OpenJSSEPlatform
    import okhttp3.internal.platform.Platform
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import okhttp3.tls.internal.TlsUtil.localhost
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
Back to top