[ruby-cvs:52112] nagachika:r44967 (ruby_2_0_0): merge revision(s) r44931: [Backport #9452]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Feb 15 15:53:02 JST 2014


nagachika	2014-02-15 15:53:01 +0900 (Sat, 15 Feb 2014)

  New Revision: 44967

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44967

  Log:
    merge revision(s) r44931: [Backport #9452]
    
    * vm_insnhelper.c (vm_call_method): should check ci->me->flag of
      a refining method in case the method is private.
      [ruby-core:60111] [Bug #9452]
    
    * vm_method.c (make_method_entry_refined): set me->flag of a refined
      method entry to NOEX_PUBLIC in case the original method is private
      and it is refined as a public method.  The original flag is stored
      in me->def->body.orig_me, so it's OK to make a refined method
      entry public.  [ruby-core:60111] [Bug #9452]
    
    * test/ruby/test_refinement.rb: related tests.

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/test/ruby/test_refinement.rb
    branches/ruby_2_0_0/version.h
    branches/ruby_2_0_0/vm_insnhelper.c
    branches/ruby_2_0_0/vm_method.c


More information about the ruby-cvs mailing list