Patch: java/lang/natRuntime.cc

Andrew Haley aph@redhat.com
Thu Aug 21 11:11:00 GMT 2003


Michael Koch writes:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 > 
 > Am Montag, 18. August 2003 14:59 schrieb Andrew Haley:
 > > Michael Koch writes:
 > >  > I wrote a little patch to java/lang/natRuntime.cc to set the
 > >  > property java.library.path like SUNs JDK does it.
 > >  >
 > >  > Please review and comment.
 > >  >
 > >  > Okay for commit ?
 > >  >
 > >  > +
 > >  > +      // Initialize with prefix.
 > >  > +      sb->append (JvNewStringLatin1 (PREFIX "/lib"));
 > >
 > > I don't understand this part.  Why do you do this?
 > 
 > Constant string concatenation.

Look, I understand C perfectly well.  Why do you initialize the
library path with (PREFIX "/lib") ?

Andrew.



More information about the Java-patches mailing list