Skip to content

Deprecate framed invoke#4139

Merged
headius merged 4 commits intojruby:masterfrom
headius:deprecate_framed_invoke
Sep 6, 2016
Merged

Deprecate framed invoke#4139
headius merged 4 commits intojruby:masterfrom
headius:deprecate_framed_invoke

Conversation

@headius
Copy link
Member

@headius headius commented Sep 6, 2016

This deprecates the "invoke" forms in Helpers and RubyClass that depended on having a Ruby frame pushed to get "self" for visibility checking. Improper use of this method (in this case, frame was eliminated) caused #4134.

This PR is expected to be applied after #4138, which fixes #4134 by changing attribute assigns to use a CallSite like any other invocation.

This has worked for the JIT and it runs almost all the same
tests as the interpreter.

See jruby#4134.
This is in response to callers not seting up frame and breaking
visibility checks in jruby#4134. This goes along with jruby#4138.
@headius headius added this to the JRuby 9.1.5.0 milestone Sep 6, 2016
@headius
Copy link
Member Author

headius commented Sep 6, 2016

Note that only one of the commits in this PR is actually from this PR...the other three are from #4138.

@headius headius merged commit 82b771a into jruby:master Sep 6, 2016
@headius headius deleted the deprecate_framed_invoke branch September 6, 2016 23:46
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.

Rails new fails with 9.1.3.0 and "--dev" option

1 participant