Project

General

Profile

Actions

Bug #699

closed

removing Exception#initialize dumps core

Added by mame (Yusuke Endoh) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:36993]

Description

=begin
遠藤です。

以下で SEGV しますが、仕様でしょうか。

$ ./ruby -e 'class Exception; remove_method(:initialize); end; raise'
-e:1: warning: removing `initialize' may cause serious problem
セグメンテーション違反です

--
Yusuke ENDOH
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0