Backport #9466

backport r44758, r44759 and r44760 (preserve class name/method name encoding error messages.)

Added by Tomoyuki Chikanaga over 1 year ago. Updated over 1 year ago.

[ruby-core:60349]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

I didn't confirm it is required on 2_0_0 yet. Just for memorandum.

Associated revisions

Revision 44987
Added by Tomoyuki Chikanaga over 1 year ago

merge revision(s) r44758,r44759,r44760: [Backport #9466]

object.c: error message encoding

* object.c (convert_type, rb_convert_type, rb_check_convert_type),

(rb_to_integer): preserve class name encoding error messages.

History

#1 Updated by Tomoyuki Chikanaga over 1 year ago

  • Subject changed from backport r44758 (preserve class name encoding error messages.) to backport r44758 and r44759 (preserve class name/method name encoding error messages.)

#2 Updated by Tomoyuki Chikanaga over 1 year ago

  • Subject changed from backport r44758 and r44759 (preserve class name/method name encoding error messages.) to backport r44758, r44759 and r44760 (preserve class name/method name encoding error messages.)

add r44760. It contains a slight incompatibility in messages of NotImplementedError with broken object, but it's quite internal of interpreter. I think it's acceptable to backport it.

#3 Updated by Tomoyuki Chikanaga over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r44987.


merge revision(s) r44758,r44759,r44760: [Backport #9466]

object.c: error message encoding

* object.c (convert_type, rb_convert_type, rb_check_convert_type),

(rb_to_integer): preserve class name encoding error messages.

Also available in: Atom PDF