Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for JRuby 9.2+ #24

Open
wants to merge 1 commit into
base: fishwife-dev
Choose a base branch
from

Conversation

headius
Copy link

@headius headius commented Jan 18, 2022

These are minimal changes to support working on JRuby 9.2 and up,
which are the currently-supported JRuby versions. I was unable to
run the tests due to errors building (something in the toolchain
is using an http URL for Maven that no longer exists).

  • CallBlock.newCallClosure with Arity was deprecated some time ago
    and removed in 9.3. The Signature version works on 9.2+.
  • RuntimeHelpers is replaced with Helpers.
  • createNativeRaiseException is deprecated, so the patch converts
    IOException instances to their equivalent Ruby IOError subtypes.

There may be more work needed to get this fully-functional on
JRuby 9.2+ but this is at least a minimum set of changes.

These are minimal changes to support working on JRuby 9.2 and up,
which are the currently-supported JRuby versions. I was unable to
run the tests due to errors building (something in the toolchain
is using an http URL for Maven that no longer exists).

* CallBlock.newCallClosure with Arity was deprecated some time ago
  and removed in 9.3. The Signature version works on 9.2+.
* RuntimeHelpers is replaced with Helpers.
* createNativeRaiseException is deprecated, so the patch converts
  IOException instances to their equivalent Ruby IOError subtypes.

There may be more work needed to get this fully-functional on
JRuby 9.2+ but this is at least a minimum set of changes.
@kovyrin
Copy link

kovyrin commented Jan 18, 2022

Tested the changes in our vendored copy of Fishwife and it works as expected. Thank you for your help!

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.

None yet

2 participants