Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for JavaVersion (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/build.gradle.kts

      // because the JDK built-in base modules are not available in earlier versions.
      val javaVersion = compileKotlinTask.kotlinJavaToolchain.javaVersion.getOrNull()
      when {
        javaVersion?.isJava9Compatible == true -> {
          logger.info("Module-info checking is enabled; $compileKotlinTask is compiled using Java $javaVersion")
          // Disabled as this module can't see the others in this build for some reason
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      public void testLazyStackTraceWorksInProd() {
        // TODO(b/64442212): Remove this guard once lazyStackTrace() works in Java 9+.
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        if (javaVersion != null && javaVersion >= 9) {
          return;
        }
        // Obviously this isn't guaranteed in every environment, but it works well enough for now:
        assertTrue(lazyStackTraceIsLazy());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

        private File signatureFile;
    
        private String javaHome;
    
        private FileCollection jdkJarHellClasspath;
    
        private final Property<JavaVersion> targetCompatibility = getProject().getObjects().property(JavaVersion.class);
    
        @Input
        public Property<JavaVersion> getTargetCompatibility() {
            return targetCompatibility;
        }
    
        @InputFiles
        @PathSensitive(PathSensitivity.NAME_ONLY)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/ThrowablesTest.java

      public void testLazyStackTraceWorksInProd() {
        // TODO(b/64442212): Remove this guard once lazyStackTrace() works in Java 9+.
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        if (javaVersion != null && javaVersion >= 9) {
          return;
        }
        // Obviously this isn't guaranteed in every environment, but it works well enough for now:
        assertTrue(lazyStackTraceIsLazy());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/Types.java

          StringBuilder builder = new StringBuilder();
          if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) {
            builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.');
          }
          return builder
              .append(rawType.getName())
              .append('<')
              .append(COMMA_JOINER.join(transform(argumentsList, JavaVersion.CURRENT::typeName)))
              .append('>')
              .toString();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testToString_delayedTimeout() throws Exception {
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        // Parsing to an integer might fail because Java 8 returns "1.8" instead of "8."
        // We can continue if it's 1.8, and we can continue if it's an integer in [9, 20).
        if (javaVersion != null && javaVersion >= 20) {
          // TODO(b/261217224, b/361604053): Make this test work under newer JDKs.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testToString_delayedTimeout() throws Exception {
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        // Parsing to an integer might fail because Java 8 returns "1.8" instead of "8."
        // We can continue if it's 1.8, and we can continue if it's an integer in [9, 20).
        if (javaVersion != null && javaVersion >= 20) {
          // TODO(b/261217224, b/361604053): Make this test work under newer JDKs.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  8. build-tools-internal/build.gradle

    def minCompilerJava = JavaVersion.toVersion(file('src/main/resources/minimumCompilerVersion').text)
    targetCompatibility = minCompilerJava
    sourceCompatibility = minCompilerJava
    
    if (JavaVersion.current() < JavaVersion.toVersion(minCompilerJava)) {
      throw new GradleException("Java ${minCompilerJava} is required to build Elasticsearch but current Java is version ${JavaVersion.current()}.")
    }
    
    sourceSets {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

    compileTestKotlin {
      kotlinOptions {
        jvmTarget = "1.8"
      }
    }
    
    compileJava {
      sourceCompatibility = JavaVersion.VERSION_1_8
      targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    android {
      compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
      }
    }
    ```
    
    
     [advanced_profiling_bug]: https://issuetracker.google.com/issues/135141615
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    import gradlebuild.basics.BuildParams.TEST_SPLIT_INCLUDE_TEST_CLASSES
    import gradlebuild.basics.BuildParams.TEST_SPLIT_ONLY_TEST_GRADLE_VERSION
    import gradlebuild.basics.BuildParams.VENDOR_MAPPING
    import org.gradle.api.JavaVersion
    import org.gradle.api.Project
    import org.gradle.api.provider.Provider
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.jvm.toolchain.JvmVendorSpec
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
Back to Top