[Mono-list] Exception wierdness

Weiqi Gao weiqigao@networkusa.net
29 Sep 2002 22:18:49 -0500


Just been trying to compile and run a bit of silly code:

==========8<==========8<==========8<==========
using System;

class Foo {
  static void Main() {
    try {
      throw new Exception();
    } catch {
      throw;
    }
  }
}
==========8<==========8<==========8<==========

with the latest CVS mcs.  It compiles OK but when I run it, it seems to
hang for a long time.  It should have caused an unhandled exception.

-- 
Weiqi Gao
weiqigao@networkusa.net