Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSerializable_typeVariableNotSupported (0.15 sec)

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

        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(TypeToken.of(new TypeCapture<B>() {}.capture())));
      }
    
      public <A> void testSerializable_typeVariableNotSupported() {
        assertThrows(RuntimeException.class, () -> new ITryToSerializeMyTypeVariable<String>().go());
      }
    
      private static class ITryToSerializeMyTypeVariable<T> {
        void go() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top