Tomas Matousek wrote: > What do you think about this: > C:\>type const_alias1.rb > A = Class.new > B = A > p B.name > > C:\>type const_alias2.rb > A = Class.new > B = A > A = nil > p B.name > > C:\>ruby const_alias1.rb > "A" > > C:\>ruby const_alias2.rb > const_alias2.rb:3: warning: already initialized constant A > "B" We support the dynamic assignment of name to class on first const assignment in JRuby, but we don't support the second behavior above. The former seems reasonable to me, if a little unexpected; it's so that anonymous classes can eventually have names. But the latter behavior I'm a little confused by. We probably won't be implementing it. - Charlie