From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20543 invoked by alias); 24 Mar 2004 10:40:37 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 20513 invoked from network); 24 Mar 2004 10:40:33 -0000 Received: from unknown (HELO hotmail.com) (64.4.37.35) by sources.redhat.com with SMTP; 24 Mar 2004 10:40:33 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 24 Mar 2004 02:40:32 -0800 Received: from 195.224.225.50 by by10fd.bay10.hotmail.msn.com with HTTP; Wed, 24 Mar 2004 10:40:32 GMT X-Originating-IP: [195.224.225.50] X-Originating-Email: [robert_lougher@hotmail.com] X-Sender: robert_lougher@hotmail.com From: "Robert Lougher" To: dholmes@dltech.com.au, archie@dellroad.org Cc: brawer@dandelis.ch, chris@kiffer.eunet.be, aph@redhat.com, classpath@gnu.org, mauve-discuss@sources.redhat.com Bcc: Subject: RE: ClassLoader.findLoadedClass (was: ServiceFactory) Date: Wed, 24 Mar 2004 10:40:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Mar 2004 10:40:32.0390 (UTC) FILETIME=[6EB89260:01C4118C] X-SW-Source: 2004-q1/txt/msg00027.txt.bz2 Yes, I agree (but see my comment below). Iin fact, I suggested moving findLoadedClass to the VMClassLoader in my last post. The next release of JamVM, which should be out tonight, will have this. This means releasing a modified ClassLoader as a "VM class" but it'll be a while before this makes it into the next release of Classpath. Thanks, Rob. ----Original Message Follows---- From: "David Holmes" ... >VMClassLoader can define a default mechanism using hashtables or just leave >things native. > A pure Java "reference" implementation won't work. At the Java level VMClassLoader can only keep track of classes defined by a loader (when it calls VMClassLoader.defineClass). A call back will be needed so that the VM can record a loader as an initiating loader for a class. >Or in simple words: move the lookup table out of ClassLoader into >VMClassLoader. David Holmes _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger