This is the mail archive of the java@gcc.gnu.org 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: classpaths and jar files


"Anthony Green" <green@redhat.com> writes:

> It would be convenient if the compiler would arrange for the fully linked
> executable's built-in classpath to include any installed jar files used at
> time of compilation.

I don't think that is the right model.  I would rather have any
resource files etc from a .jar be compiled into the executable
(or shared library).  Our model is that gcj uses .so files where
jdk uses .jar files.  (At least at run time - we do use .jars
at compile time.)

Thus a resource file should be compiled to an initialized
byte array in a read-only data segment.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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