Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for isJava8 (0.11 sec)

  1. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
      private static boolean isAndroid() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
      private static boolean isAndroid() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy

            expect:
            JavaVersion.current() == current
            JavaVersion.current().java6 == isJava6
            JavaVersion.current().java7 == isJava7
            JavaVersion.current().java8 == isJava8
            JavaVersion.current().java9 == isJava9
            JavaVersion.current().java10 == isJava10
            JavaVersion.current().java11 == isJava11
            JavaVersion.current().java12 == isJava12
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/JavaVersion.java

        }
    
    
        public boolean isJava5() {
            return this == VERSION_1_5;
        }
    
        public boolean isJava6() {
            return this == VERSION_1_6;
        }
    
        public boolean isJava7() {
            return this == VERSION_1_7;
        }
    
        public boolean isJava8() {
            return this == VERSION_1_8;
        }
    
        public boolean isJava9() {
            return this == VERSION_1_9;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        @Override
        protected void doStop() {
          notifyFailed(new IllegalStateException("stop failure"));
        }
      }
    
      public void testServiceStartupTimes() {
        if (isWindows() && isJava8()) {
          // Flaky there: https://github.com/google/guava/pull/6731#issuecomment-1736298607
          return;
        }
        Service a = new NoOpDelayedService(150);
        Service b = new NoOpDelayedService(353);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        @Override
        protected void doStop() {
          notifyFailed(new IllegalStateException("stop failure"));
        }
      }
    
      public void testServiceStartupTimes() {
        if (isWindows() && isJava8()) {
          // Flaky there: https://github.com/google/guava/pull/6731#issuecomment-1736298607
          return;
        }
        Service a = new NoOpDelayedService(150);
        Service b = new NoOpDelayedService(353);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  7. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java

             */
            String httpsProtocols = System.getProperty(HTTPS_PROTOCOLS);
            if (httpsProtocols != null) {
                return httpsProtocols.split(",");
            } else if (JavaVersion.current().isJava8() && Jvm.current().isIbmJvm()) {
                return new String[]{"TLSv1.2"};
            } else if (jdkSupportsTLSProtocol("TLSv1.3")) {
                return new String[]{"TLSv1.2", "TLSv1.3"};
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec/compileJavaFx8Code/build.gradle

    apply plugin: "groovy"
    
    repositories {
        mavenCentral()
    }
    
    compileGroovy {
        if (JavaVersion.current().isJava9()) {
            options.compilerArgs += ['--add-modules', 'javafx.graphics']
            groovyOptions.forkOptions.jvmArgs += ['--add-modules', 'javafx.graphics']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 279 bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                        assert getClass().getClassLoader() == Thread.currentThread().getContextClassLoader();
    
                        boolean isJava9 = Boolean.parseBoolean(System.getProperty("isJava9"));
    
                        List<String> classpath;
                        if (isJava9) {
                            classpath = Arrays.stream(System.getProperty("java.class.path").split(Pattern.quote(File.pathSeparator)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                        boolean isJava9 = Boolean.parseBoolean(System.getProperty("isJava9"));
                        String[] splitTestRuntimeClasspath = splitClasspath(System.getProperty("testRuntimeClasspath"));
                        if (isJava9) {
                            String[] splitCliClasspath = splitClasspath(System.getProperty("java.class.path"));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top