- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for JavaVersion (1.75 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
throw new GradleException("Gradle " + minimumGradleVersion.getVersion() + "+ is required"); } JavaVersion minimumCompilerVersion = JavaVersion.toVersion(getResourceContents("/minimumCompilerVersion")); JavaVersion minimumRuntimeVersion = JavaVersion.toVersion(getResourceContents("/minimumRuntimeVersion")); File runtimeJavaHome = findRuntimeJavaHome();
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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/135141615Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0)