On Apr 24, 2008, at 4:43 AM, Rémi Forax wrote:

> I answer to myself, it's only in the case the host-class is null,
> otherwise the classloader used is the one of the host-class.

Right.  The new class is supposed to inherit the same access rights,  
protection domain, class loader, from the host class.

(In particular, the new class should be able to access the private  
members of the host class.  This gives a structured way to define  
"new" code in the old class.)

> What is exactly the meaning of a null host-class ?

Here's what I had in mind, which I think is the most useful:  Default  
(system) protection domain and class loader.  As if there were some  
empty system class that acts as the host class.

-- John
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to