Rémi Forax wrote:
> In my opinion, there is one AnonymousClassloader by host class to share 
> security check.

I'm not sure I see how to use a single java.dyn.AnonymousClassLoader to 
load multiple classes, since it seems to want the class bytes on 
construction. Looking at source now.

> Else, why do you use reflection in org.jruby.util.AnonymousClassLoader ?

The reflection stuff is just to isolate pre-DVM JDKs from 
java.dyn.AnonymousClasLoader. It would probably be replaced with a 
pluggable mechanism of some kind. So it's essentially the same as what 
you have, but backward compatible.
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to