A few small fixes

2003-06-06 Thread Jeroen Frijters
Hi, I ran into a few small bugs. Attached is the patch file. Please apply if they're OK. Change Log * java/lang/Class.java (forName(String,boolean,ClassLoader)): call ClassLoader.loadClass(String) instead of ClassLoader.loadClass(String, boolean). There are ClassLoader subclasses out there that

isDirectory/isFile and links

2003-06-06 Thread Dr. Torsten Rupp
Hi, I yust got a little bit confused, because of the behaviour of java.io.File.isDirectory()/java.io.File.isFile(). If the requested filename is a link to a file/directory it seems always false is reported. With JDK true is reported. The reason for this seems to be the OS function lstat which is

Re: isDirectory/isFile and links

2003-06-06 Thread Michael Koch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 5. Juni 2003 15:40 schrieb Dr. Torsten Rupp: Hi, I yust got a little bit confused, because of the behaviour of java.io.File.isDirectory()/java.io.File.isFile(). If the requested filename is a link to a file/directory it seems

java.lang.Class.newInstance() construction caching

2003-06-06 Thread Alan Macek
Hello, As a supplement to the recent constructor caching changes made to java.lang.Class.newInstance(), I would like to offer the following change which caches the default constructor more often. I am new to working with Classpath and I would like to hear why this change might or might not work.

Re: GNU Java Style

2003-06-06 Thread Tom Tromey
Brian == Brian Jones [EMAIL PROTECTED] writes: Brian I will try here to start a list, it may be wrong. Looks pretty good. As Per says, we omit space before ( in a method call. In practice we're inconsistent on this point. Brian Implements and extends on separate lines, throws too. We

RE: A few small fixes

2003-06-06 Thread David Holmes
Jeroen Frijters wrote: * java/lang/Class.java (forName(String,boolean,ClassLoader)): call ClassLoader.loadClass(String) instead of ClassLoader.loadClass(String, boolean). There are ClassLoader subclasses out there that override loadClass(String) instead of loadClass(String, boolean). I

RE: java.lang.Class.newInstance() construction caching

2003-06-06 Thread Jeroen Frijters
Alan Macek wrote: As a supplement to the recent constructor caching changes made to java.lang.Class.newInstance(), I would like to offer the following change which caches the default constructor more often. I am new to working with Classpath and I would like to hear why this change might or

RE: A few small fixes

2003-06-06 Thread Jeroen Frijters
David Holmes wrote: Jeroen Frijters wrote: * java/lang/Class.java (forName(String,boolean,ClassLoader)): call ClassLoader.loadClass(String) instead of ClassLoader.loadClass(String, boolean). There are ClassLoader subclasses out there that override loadClass(String) instead of

RE: java.lang.Class.newInstance() construction caching

2003-06-06 Thread Jeroen Frijters
Oops. Forget to attach the file. Here it is. Regards, Jeroen -Original Message- From: Jeroen Frijters [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 09:12 To: Alan Macek; [EMAIL PROTECTED] Alan Macek wrote: As a supplement to the recent constructor caching changes

Problems creating configure file.

2003-06-06 Thread Ingo Prötel
Hi, I'm trying to compile classpath from the CVS. Since there is no configure I run aclocal, automake and autoconfigure. The aclocal terminates with the error: aclocal: configure.in: 132: macro `AM_PATH_LIBART' not found in library Apparently I need an additional package. Can somebody tell me

Re: Problems creating configure file.

2003-06-06 Thread Ingo Prötel
Thanks for your reply. I have looked for this package before, but I was only able to finde libart_lgpl-devel-2.3.10-51 but this does not contain the AM_PATH_LIBART macro. Do you have a pointer where I can find the correct package ? ingo Michael Koch wrote: -BEGIN PGP SIGNED MESSAGE-

Re: Problems creating configure file.

2003-06-06 Thread Michael Koch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 6. Juni 2003 15:50 schrieb Ingo Prötel: Hi, I'm trying to compile classpath from the CVS. Since there is no configure I run aclocal, automake and autoconfigure. The aclocal terminates with the error: aclocal: configure.in: 132:

Re: Problems creating configure file.

2003-06-06 Thread Michael Koch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 6. Juni 2003 16:47 schrieb Ingo Prötel: Thanks for your reply. I have looked for this package before, but I was only able to finde libart_lgpl-devel-2.3.10-51 but this does not contain the AM_PATH_LIBART macro. Do you have a pointer

Re: Problems creating configure file.

2003-06-06 Thread Mark Wielaard
Hi, On Fri, 2003-06-06 at 16:47, Ingo Prötel wrote: I have looked for this package before, but I was only able to finde libart_lgpl-devel-2.3.10-51 but this does not contain the AM_PATH_LIBART macro. Do you have a pointer where I can find the correct package ? On my Debian GNU/Linux box

Re: AppletViewer

2003-06-06 Thread Michael Koch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 6. Juni 2003 16:27 schrieben Sie: Hi, On Fri, 2003-06-06 at 15:44, Michael Koch wrote: I have written a little appletviewer for libgcj. Its written in Java (;-)). Currently its only one file with two subclasses in the code. If

Re: Problems creating configure file.

2003-06-06 Thread Ingo Prötel
Thanks again Michael! That helped a lot. The last thing I had to do was call the aclocal script with the directory that contains the libart.m4 file. On my system that's: aclocal -I /opt/gnome/share/aclocal/ But now I have a new problem: automake looks for a file '././include/config.h.in' that