Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for StackOverflowError (0.25 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
         * - If the stack overflowed before set()/setValue() could even store the result in the output
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        }
    
        this.mayInterruptIfRunning = mayInterruptIfRunning;
        state = State.CANCELLED;
        notifyAndClearListeners();
    
        if (delegate != null) {
          // TODO(lukes): consider adding the StackOverflowError protection from the server version
          delegate.cancel(mayInterruptIfRunning);
        }
    
        return true;
      }
    
      protected void interruptTask() {}
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

              String message = "Timed out";
              // This try-finally block ensures that we complete the timeout future, even if attempting
              // to produce the message throws (probably StackOverflowError from delegate.toString())
              try {
                if (timer != null) {
                  long overDelayMs = Math.abs(timer.getDelay(TimeUnit.MILLISECONDS));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
      // Verify that StackOverflowError in a long chain of SetFuture doesn't cause the entire toString
      // call to fail
      @J2ktIncompatible
      @GwtIncompatible
      @AndroidIncompatible
      public void testSetFutureToString_stackOverflow() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * stack-overflow tests work. It must depend on the exact place the error occurs.
       */
      @AndroidIncompatible
      @J2ktIncompatible
      @GwtIncompatible // StackOverflowError
      public void testTransform_StackOverflow() throws Exception {
        {
          /*
           * Initialize all relevant classes before running the test, which may otherwise poison any
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
      // Verify that StackOverflowError in a long chain of SetFuture doesn't cause the entire toString
      // call to fail
      @J2ktIncompatible
      @GwtIncompatible
      @AndroidIncompatible
      public void testSetFutureToString_stackOverflow() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * stack-overflow tests work. It must depend on the exact place the error occurs.
       */
      @AndroidIncompatible
      @J2ktIncompatible
      @GwtIncompatible // StackOverflowError
      public void testTransform_StackOverflow() throws Exception {
        {
          /*
           * Initialize all relevant classes before running the test, which may otherwise poison any
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        return outputFuture;
      }
    
      enum RunningState {
        NOT_RUN,
        CANCELLED,
        STARTED,
      }
    
      /**
       * This class helps avoid a StackOverflowError when large numbers of tasks are submitted with
       * {@link MoreExecutors#directExecutor}. Normally, when the first future completes, all the other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          builder.append("]");
        } else {
          String pendingDescription;
          try {
            pendingDescription = Strings.emptyToNull(pendingToString());
          } catch (Exception | StackOverflowError e) {
            // Any Exception is either a RuntimeException or sneaky checked exception.
            //
            // Don't call getMessage or toString() on the exception, in case the exception thrown by the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. ChangeLog.md

    - [`KT-60586`](https://youtrack.jetbrains.com/issue/KT-60586) K2: forbid analyze from write action
    - [`KT-57743`](https://youtrack.jetbrains.com/issue/KT-57743) K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependencies
    - [`KT-61026`](https://youtrack.jetbrains.com/issue/KT-61026) K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolve
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
Back to top