Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 114 for jdk9 (0.02 seconds)

  1. build-logic/src/main/kotlin/okhttp3/buildsupport/OkHttpBuildUtils.kt

     * limitations under the License.
     */
    package okhttp3.buildsupport
    
    import org.gradle.api.Project
    
    val Project.platform: String
      get() = findProperty("okhttp.platform")?.toString() ?: "jdk9"
    
    val Project.testJavaVersion: Int
      get() = findProperty("test.java.version")?.toString()?.toInt() ?: 21
    
    val Project.androidBuild: Boolean
      get() = findProperty("androidBuild")?.toString()?.toBoolean() ?: false
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 1K bytes
    - Click Count (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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 24.4K bytes
    - Click Count (2)
  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"
    
          /**
    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)
  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
        }
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. .teamcity/jdks.yaml

        os: "macos"
        arch: "amd64"
        vendor: "temurin"
        version: "jdk-21.0.10+7"
        sha256: "7484d5d4cdb02fc17a842ab86ddac2524a0365066659c46b2e258c64152379cd"
      - params:
          - "macos.java8.zulu.aarch64"
        os: "macos"
        arch: "aarch64"
        vendor: "zulu"
        version: "zulu8.78.0.19-ca-jdk8.0.412"
      - params:
          - "macos.java11.openjdk.aarch64"
        os: "macos"
        arch: "aarch64"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 05 09:52:57 GMT 2026
    - 6.6K bytes
    - Click Count (1)
  6. .github/workflows/update-jdks.yml

              sed -n '/^version:/,$p' .teamcity/jdks.yaml >> .teamcity/jdks.yaml.tmp
              mv .teamcity/jdks.yaml.tmp .teamcity/jdks.yaml
          - name: Create Pull Request
            id: create-pull-request
            uses: peter-evans/create-pull-request@v8
            with:
              signoff: true
              sign-commits: true
              commit-message: "Update jdks.yaml"
              add-paths: .teamcity/jdks.yaml
              title: "Update jdks.yaml"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 09 22:14:16 GMT 2025
    - 2.1K bytes
    - Click Count (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+",
        )
      }
    
    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)
  8. .github/workflows/ci.yml

          - name: 'Check out repository'
            uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
          # 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:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 22:02:44 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. .github/workflows/build.yml

        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Install Old JDK 8
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 8.0.242
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'temurin'
              java-version: 21
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  10. android/pom.xml

                  <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
                  <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
                  <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
                  <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
                  <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 17 19:12:41 GMT 2026
    - 26.9K bytes
    - Click Count (0)
Back to Top