pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/jruby/jruby/pull/9356

m/assets/global-0bd78641c0a1f3e0.css" /> Properly complete Fiber#raise transfer by headius · Pull Request #9356 · jruby/jruby · GitHub
Skip to content

Properly complete Fiber#raise transfer#9356

Merged
headius merged 1 commit intojruby:jruby-10.0from
headius:raise_breaks_fiber
Apr 1, 2026
Merged

Properly complete Fiber#raise transfer#9356
headius merged 1 commit intojruby:jruby-10.0from
headius:raise_breaks_fiber

Conversation

@headius
Copy link
Copy Markdown
Member

@headius headius commented Apr 1, 2026

Fiber#raise still returns a request from the target fiber, but the finally block intended to finish the transfer would only do so if a exception was immediately raised during the transfer. As a result the fiber was left in a "resumed" state and further resumes would error.

These state changes need to be re-audited and cleaned up but at least in this case it's clear that the completion of the raise request should not leave the fiber stuck in resume mode.

Fixes #9297

Fiber#raise still returns a request from the target fiber, but the
finally block intended to finish the transfer would only do so if
a exception was immediately raised during the transfer. As a result
the fiber was left in a "resumed" state and further resumes would
error.

These state changes need to be re-audited and cleaned up but at
least in this case it's clear that the completion of the raise
request should not leave the fiber stuck in resume mode.

Fixes jruby#9297
@headius headius added this to the JRuby 10.0.5.0 milestone Apr 1, 2026
@headius headius changed the base branch from master to jruby-10.0 April 1, 2026 14:05
@headius headius merged commit a85c919 into jruby:jruby-10.0 Apr 1, 2026
205 of 207 checks passed
@headius headius deleted the raise_breaks_fiber branch April 1, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Different behaviour than MRI on Fiber#raise

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy