yuluo-yx opened a new pull request, #10865:
URL: https://github.com/apache/rocketmq/pull/10865

   ### Which Issue(s) This PR Fixes
   
   - Fixes #10860
   
   ### Brief Description
   
   The no-argument OpenMessaging `DefaultPromise.get()` now uses the existing 
wait path instead of returning a pending `null` result. The indefinite wait 
uses a state loop to handle spurious wakeups and restores the interrupt flag 
when interrupted.
   
   Reading a completed value no longer notifies listeners again. Regression 
tests cover waiting for completion, failure propagation, and single listener 
notification.
   
   ### How Did You Test This Change?
   
   - `mise exec [email protected]+10 -- mvn -pl openmessaging -am 
-Dtest=DefaultPromiseTest -Dsurefire.failIfNoSpecifiedTests=false 
-Dspotbugs.skip=true test`
   - Result: `BUILD SUCCESS`; 12 tests, 0 failures, 0 errors, 0 skipped.
   - Scope check: 2 files, 69 changed lines.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to