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

Fix for JRuby LocalJumpError #100

Merged
merged 1 commit into from
Nov 13, 2011
Merged

Fix for JRuby LocalJumpError #100

merged 1 commit into from
Nov 13, 2011

Conversation

dgb
Copy link
Contributor

@dgb dgb commented Nov 13, 2011

Hello,

When using the aws gem under JRuby (I'm testing under 1.6.5), I noticed intermittent crashing with a "LocalJumpError". I would make a failing test case, but it's more of an acceptance issue, so I'm not sure exactly where I'd put that. In any case, you can reproduce with:

ruby -rubygems -e "require 'aws'; loop { Aws::S3.new(ENV['AWS_ID'], ENV['AWS_SECRET']).buckets }"

Where I have environment variables set for my AWS credentials.

I think the issue has something to do with a difference in how MRI and JRuby represent begin/end blocks internally, but I didn't dig too far into it. Let me know if you have any questions or comments.

treeder added a commit that referenced this pull request Nov 13, 2011
Fix for JRuby LocalJumpError
@treeder treeder merged commit a226179 into appoxy:master Nov 13, 2011
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.

2 participants