« Return to Thread: Assertions and System Assertions in GNU Classpath

Re: Assertions and System Assertions in GNU Classpath

by Pekka Enberg-4 :: Rate this Message:

| View in Thread

On Tue, Apr 24, 2012 at 9:40 PM, Josef Eisl
<zapster@...> wrote:
> Attached is a patch that enables GNU Classpath to distinguish between
> normal assertions and assertions for system classes (i.e. null
> classloader) as discussed on the Classpath mailing list [1].

Acked-by: Pekka Enberg <penberg@...>

On Tue, Apr 24, 2012 at 9:40 PM, Josef Eisl
<zapster@...> wrote:
> Note that the new method
> 'java/lang/VMClassLoader.getSystemAssertionStatus()' must be implemented
> otherwise an exception will occur.

Sure, but only for VMs that override GNU Classpath VM native classes.
Jato, for example, doesn't.

 « Return to Thread: Assertions and System Assertions in GNU Classpath