Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testRecursiveWildcardSubtypeBug (0.22 sec)

  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());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (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());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top