Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ThrowingRunnable (0.05 sec)

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

      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
    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