Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Java9 (0.01 sec)

  1. buildSrc/src/main/kotlin/JavaModules.kt

        val compileKotlinTask = tasks.getByName("compileKotlin") as KotlinJvmCompile
        dependsOn(compileKotlinTask)
    
        if (enableValidation) {
          compileKotlinTask.source(file("src/main/java9"))
        }
    
        // Ignore warnings about using 'requires transitive' on automatic modules.
        // not needed when compiling with recent JDKs, e.g. 17
        options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/build.gradle.kts

      val compilation = kotlin.targets["jvm"].compilations["main"]
      val compileKotlinTask = compilation.compileTaskProvider.get() as KotlinJvmCompile
      val targetDir = compileKotlinTask.destinationDirectory.dir("../java9")
      val sourceDir = file("src/jvmMain/java9/")
    
      // Use a Java 11 compiler for the module info.
      javaCompiler.set(project.javaToolchains.compilerFor { languageVersion.set(JavaLanguageVersion.of(11)) })
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. android/guava-testlib/pom.xml

                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
              </execution>
              <execution>
                <id>compile-java9</id>
                <phase>compile</phase>
                <goals>
                  <goal>compile</goal>
                </goals>
                <configuration>
                  <release>9</release>
                  <compileSourceRoots>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 17:59:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java

      }
    
      @Test
      public void testMockWebServer() throws IOException {
        MockWebServer server = new MockWebServer();
        server.enqueue(new MockResponse(200, Headers.of(), "Hello, Java9!"));
        server.start();
    
        // Just check we can run code that depends on OkHttp types
        Call call = OkHttpCaller.callOkHttp(server.url("/"));
    
        try (Response response = call.execute();) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Types.java

           */
          @SuppressWarnings("NewApi")
          @Override
          String typeName(Type type) {
            return type.getTypeName();
          }
        },
        JAVA9 {
          @Override
          Type newArrayType(Type componentType) {
            return JAVA8.newArrayType(componentType);
          }
    
          @Override
          Type usedInGenericType(Type type) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  6. guava/pom.xml

                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
              </execution>
              <execution>
                <id>compile-java9</id>
                <phase>compile</phase>
                <goals>
                  <goal>compile</goal>
                </goals>
                <configuration>
                  <release>9</release>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. futures/failureaccess/pom.xml

                    <arg>-sourcepath</arg>
                    <arg>doesnotexist</arg>
                  </compilerArgs>
                </configuration>
              </execution>
              <execution>
                <id>compile-java9</id>
                <goals>
                  <goal>compile</goal>
                </goals>
                <configuration>
                  <release>9</release>
                  <compileSourceRoots>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 19:27:26 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/pom.xml

                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
              </execution>
              <execution>
                <id>compile-java9</id>
                <phase>compile</phase>
                <goals>
                  <goal>compile</goal>
                </goals>
                <configuration>
                  <release>9</release>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

           */
          @IgnoreJRERequirement
          @SuppressWarnings("NewApi")
          @Override
          String typeName(Type type) {
            return type.getTypeName();
          }
        },
        JAVA9 {
          @Override
          Type newArrayType(Type componentType) {
            return JAVA8.newArrayType(componentType);
          }
    
          @Override
          Type usedInGenericType(Type type) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  10. build.gradle.kts

        environment("OKHTTP_ROOT", rootDir)
      }
      tasks.withType<KotlinJvmTest>().configureEach {
        environment("OKHTTP_ROOT", rootDir)
      }
    
      tasks.withType<JavaCompile> {
        if (name.contains("Java9")) {
          sourceCompatibility = "9"
          targetCompatibility = "9"
        } else {
          sourceCompatibility = projectJavaVersion.toString()
          targetCompatibility = projectJavaVersion.toString()
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 11.5K bytes
    - Viewed (1)
Back to top