Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OpenJDK (0.21 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy

            JavaVersion.VERSION_1_10 | JavaVersion.VERSION_13   | false
            JavaVersion.VERSION_13   | JavaVersion.VERSION_1_10 | true
        }
    
        /* Following test cases are from http://hg.openjdk.java.net/jdk/jdk/file/af37d9997bd6/test/jdk/java/lang/Runtime/Version/Basic.java */
    
        def 'can recognize multiple version number'() {
            expect:
            JavaVersion.toVersion('9') == JavaVersion.VERSION_1_9
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is
             * safe, even though javac can't tell.
             *
             * Sun bug 6665356 is an additional complication. Until OpenJDK 7, javac
             * doesn't recognize this kind of cast as unchecked cast. Neither does
             * Eclipse 3.4. Right now, this suppression is mostly unnecessary.
             */
            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is
             * safe, even though javac can't tell.
             *
             * Sun bug 6665356 is an additional complication. Until OpenJDK 7, javac
             * doesn't recognize this kind of cast as unchecked cast. Neither does
             * Eclipse 3.4. Right now, this suppression is mostly unnecessary.
             */
            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

            TypeVariable<?> typeVar = (TypeVariable<?>) type;
            for (AnnotatedType bound : typeVar.getAnnotatedBounds()) {
              // Until Java 15, the isNullableTypeVariable case here won't help:
              // https://bugs.openjdk.java.net/browse/JDK-8202469
              if (containsNullable(bound.getAnnotations()) || isNullableTypeVariable(bound.getType())) {
                return true;
              }
            }
            return false;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top