RE: java.lang.Class.newinstance(): exceptions; desired behavior?

2004-09-24 Thread Jeroen Frijters
Steven Augart wrote: It is now the documented behaviour as of JDK 1.5.0rc1. (And it is *really annoying* to implement in a VM written in Java, like Jikes RVM). A while ago it occurred to me that Thread.stop(Throwable) can also be used to throw arbitrary exceptions (on the current thread).

Re: java.lang.Class.newinstance(): exceptions; desired behavior?

2004-09-24 Thread Steven Augart
Jeroen Frijters wrote: Steven Augart wrote: It is now the documented behaviour as of JDK 1.5.0rc1. (And it is *really annoying* to implement in a VM written in Java, like Jikes RVM). A while ago it occurred to me that Thread.stop(Throwable) can also be used to throw arbitrary exceptions (on