classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Re: PR java/14070: gij and -jar argument should set the man


From: Tom Tromey
Subject: [cp-patches] Re: PR java/14070: gij and -jar argument should set the manifest Class-path recursively
Date: 01 Nov 2004 10:56:56 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Andrew" == Andrew Haley <address@hidden> writes:

Andrew> Okay, I think I see.  So, at entry to the URLClassLoader you create a
Andrew> hash table and then when you're looping around all the sub-loaders you
Andrew> check the hash table to see where you've been.  I'll try it.

I just meant while reading the Class-Path entries of the jar files,
keep track of where you've been and don't revisit.  Then at the end
you will have a unique-ified list that you keep.  Is this what you
meant?  I couldn't tell from what you wrote if you meant you would do
the check when looking up a class or resource -- I would expect that
to be too expensive.

Tom




reply via email to

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