Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for jdk9 (0.01 sec)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.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()
    
        if (jdkWithJettyBoot != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        vararg intermediates: X509Certificate,
      ): SSLSocketFactory {
        // Test setup fails on JDK9
        // java.security.KeyStoreException: Certificate chain is not valid
        // at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry
        // http://openjdk.java.net/jeps/229
        // http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/2c1c21d11e58/src/share/classes/sun/security/pkcs12/PKCS12KeyStore.java#l596
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  3. 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"
    
          /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

        } catch (e: ClassNotFoundException) {
          null
        } catch (e: RuntimeException) {
          // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to
          // JEP 403 Strongly Encapsulate JDK Internals.
          if (e.javaClass.name != "java.lang.reflect.InaccessibleObjectException") {
            throw e
          }
    
          null
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. build.gradle.kts

          }
        }
      }
    
      normalization {
        runtimeClasspath {
          metaInf {
            ignoreAttribute("Bnd-LastModified")
          }
        }
      }
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    /** Configure building for Java+Kotlin projects. */
    subprojects {
      val project = this@subprojects
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. okhttp/build.gradle.kts

      kotlin("plugin.serialization")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    val copyKotlinTemplates = tasks.register<Copy>("copyKotlinTemplates") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. 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+",
        )
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

            continue;
          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
           * https://github.com/google/guava/blob/4f12c5891a7adedbaa1d99fc9f77d8cc4e9da206/guava-tests/test/com/google/common/reflect/TypeResolverTest.java#L201
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. .github/workflows/ci.yml

          - name: 'Check out repository'
            uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          # When we specify multiple JDKs, the final one becomes the default, which is used to execute Maven itself.
          # Our Maven configuration then specifies different JDKs to use for some of the steps:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       * element returned.
       *
       * <p>See <a href="https://bugs.openjdk.org/browse/JDK-6529795">JDK-6529795</a>
       */
      static class IteratorWithJdkBug6529795<T> implements Iterator<T> {
        Iterator<T> iterator;
        boolean nextThrewException;
    
        IteratorWithJdkBug6529795(Iterator<T> iterator) {
          this.iterator = iterator;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top