Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testRecursiveWildcardSubtypeBug (0.37 seconds)

  1. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        new WildcardSubtypingTests().testAllDeclarations();
      }
    
      /**
       * This test reproduces the bug in canonicalizeWildcardType() when the type variable is
       * recursively bounded.
       */
      public void testRecursiveWildcardSubtypeBug() throws Exception {
        Exception e =
            assertThrows(
                Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 20.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        new WildcardSubtypingTests().testAllDeclarations();
      }
    
      /**
       * This test reproduces the bug in canonicalizeWildcardType() when the type variable is
       * recursively bounded.
       */
      public void testRecursiveWildcardSubtypeBug() throws Exception {
        Exception e =
            assertThrows(
                Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 20.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

       * technically not true that {@code Foo<Enum<? extends Enum<E>>>} is a subtype of {@code
       * Foo<Enum<?>>} according to JLS. See testRecursiveWildcardSubtypeBug() for a real example.
       *
       * <p>It appears that properly handling recursive type bounds in the presence of implicit type
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
Back to Top