Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 131 for jdk1 (0.05 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileJavaToolchainIntegrationTest.groovy

        }
    
        def "can compile source and run tests using Java #javaVersion for Scala "() {
            def jdk = AvailableJavaHomes.getJdk(javaVersion)
            Assume.assumeTrue(jdk != null)
    
            configureJavaPluginToolchainVersion(jdk)
    
            buildFile << """
                tasks.withType(ScalaCompile).configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:32:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyCompileToolchainIntegrationTest.groovy

            Assume.assumeTrue(GroovyCoverage.supportsJavaVersion("$versionNumber", javaVersion))
            def jdk = AvailableJavaHomes.getJdk(javaVersion)
            Assume.assumeTrue(jdk != null)
    
            configureJavaPluginToolchainVersion(jdk)
    
            buildFile << """
                dependencies {
                    testImplementation "org.spockframework:spock-core:${getSpockVersion(versionNumber)}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:37:16 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/FreefairAspectJPluginSmokeTest.groovy

    import org.gradle.test.preconditions.UnitTestPreconditions
    import spock.lang.Issue
    
    class FreefairAspectJPluginSmokeTest extends AbstractPluginValidatingSmokeTest {
        // AspectJ does not support JDK17 yet
        @Requires(UnitTestPreconditions.Jdk16OrEarlier)
        @Issue('https://plugins.gradle.org/plugin/io.freefair.aspectj')
        def 'freefair aspectj plugin'() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
     * A TLS 1.3 only Connection Spec. This will be eventually be exposed
     * as part of MODERN_TLS or folded into the default OkHttp client once published and
     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec.Builder(true)
        .cipherSuites(*TLS13_CIPHER_SUITES.toTypedArray())
        .tlsVersions(TlsVersion.TLS_1_3)
        .build()
    
    private val TLS_12 =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/kotlin/build.gradle.kts

                context.details.addVariant("jdk8${base.capitalize()}", base) {
                    attributes {
                        attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8)
                    }
                    withFiles {
                        removeAllFiles()
                        addFile("${context.details.id.name}-${context.details.id.version}-jdk8.jar")
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CountingOutputStream.java

        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/jdk7/WindowsJdk7Symlink.java

     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.filesystem.jdk7;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.LinkOption;
    import java.nio.file.attribute.BasicFileAttributes;
    
    /**
     * Represents the Symlink facilities available on JDK 7 or better on Windows.
     * <p>
     * This subclass is used so that we don't accidentally start creating Symlinks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7Symlink.java

                return true;
            } catch (InternalError e) {
                if (e.getMessage().contains("Should not get here")) {
                    // probably facing JDK-8046686
                    LOGGER.debug("Unable to create a symlink. Your system is hitting JDK bug id JDK-8046686. Symlink support disabled.", e);
                } else {
                    LOGGER.debug("Unexpected internal error", e);
                }
                return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultToolchainConfigurationTest.groovy

            configuration.downloadEnabled = false
            configuration.intelliJdkDirectory = new File("/other/.jdks")
            configuration.installationsFromPaths = ["/path/to/java"]
            configuration.javaInstallationsFromEnvironment = ["JDK8", "JDK11"]
    
            then:
            configuration.intelliJdkDirectory == new File("/other/.jdks")
            !configuration.autoDetectEnabled
            !configuration.downloadEnabled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

                return newArrayList(2, 1, 3).iterator();
              }
            };
        assertFailure(tester);
      }
    
      /**
       * This Iterator wraps another iterator and gives it a bug found in JDK6.
       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top