[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.Class patches

From: Brian Jones
Subject: Re: java.lang.Class patches
Date: 11 Apr 2003 08:29:30 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Jeroen Frijters" <address@hidden> writes:

> Hi,
> Yet another java.lang.Class patch.
> Change Log
> * java/lang/
> (constructor): Added transient field to cache constructor.
> (newInstance): Fixed to consider non-public constructors as well, added
> constructor object caching and implemented accessibility check.
> Exceptions thrown by constructor are rethrown without the wrapping
> InvocationTargetException. This is a little odd (because it can cause
> newInstance() to throw checked exception that aren't declared), but it
> is compatible with Sun's implementation.
> * vm/reference/java/lang/
> (throwException): Added native method to throw checked exceptions
> without declaring them.

Could you fix this so that the exception is declared and then maybe we
don't need that native method in VMClass to throw the exception?

Brian Jones <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]