Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for lazyStackTraceIsLazy (0.14 sec)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        if (!lazyStackTraceIsLazy()) {
          return;
        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace
      private void doTestLazyStackTraceFallback() {
        assertFalse(lazyStackTraceIsLazy());
    
        Exception e = new Exception();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

        if (!lazyStackTraceIsLazy()) {
          return;
        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace
      private void doTestLazyStackTraceFallback() {
        assertFalse(lazyStackTraceIsLazy());
    
        Exception e = new Exception();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       *     possible use the {@code java.lang.StackWalker.walk} method introduced in JDK 9.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTraceIsLazy, jlaStackTrace
      public static List<StackTraceElement> lazyStackTrace(Throwable throwable) {
        return lazyStackTraceIsLazy()
            ? jlaStackTrace(throwable)
            : unmodifiableList(asList(throwable.getStackTrace()));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top