This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ResourceBundle


"Thomas Reilly" <treilly@allaire.com> writes:

> One way to do this in libgcj would be to load the CLASSPATH
> environment variable into the "java.class.path" System property (like
> all JDK's do) and then have the ClassLoaders getResource functions use
> that.
> 
> How's that sound?

That is reasonable, but I think this needs to be co-ordinated with other
ongoing work.  Most obviously, Kresten Krab Thorup, is working on an
interpreter, which also uses the CLASSPATH.  Also, there has been some
discussion about the appropriate API for classpaths and claspath
entries.  The standard classpath entries are of two kinds:  directories
and .zip/.jar files.  We at least one more kind:  pre-compiled shared
libraries (dlls).  I don't know how ResourceBundle would fit into this
model.  This suggest a ClassPath object is a list of
ClassPathEntry ojects, where ClassPathEntry is an abstract class.
-- 
	--Per Bothner
bothner@pacbell.net  per@bothner.com   http://home.pacbell.net/bothner/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]