[kaffe] Re: NetworkInterface problem

2005-04-24 Thread Ito Kazumitsu
From: Ito Kazumitsu <[EMAIL PROTECTED]> Subject: NetworkInterface problem (Re: [kaffe] freebsd 5.3 failed regression) Date: Sun, 24 Apr 2005 23:07:48 +0900 (JST) > The problem seems to appear when a network interface has more than > one addresses. The differnce bet

NetworkInterface problem (Re: [kaffe] freebsd 5.3 failed regression)

2005-04-24 Thread Ito Kazumitsu
> From: Riccardo <[EMAIL PROTECTED]> > Subject: [kaffe] freebsd 5.3 failed regression > Date: Fri, 22 Apr 2005 11:38:06 + (UTC) > > > on 18 april, freebsd 5.3 passed all tests, today it fails one: > > In my case, also on FreeBSD 5.3-RELEASE, compilation failes > before going to the regression

Re: [kaffe] freebsd 5.3 failed regression

2005-04-22 Thread Ito Kazumitsu
From: Riccardo <[EMAIL PROTECTED]> Subject: [kaffe] freebsd 5.3 failed regression Date: Fri, 22 Apr 2005 11:38:06 + (UTC) > on 18 april, freebsd 5.3 passed all tests, today it fails one: In my case, also on FreeBSD 5.3-RELEASE, compilation failes before going to the regression test. gcc -DH

[kaffe] Iconv-based NIO charset provider

2005-04-17 Thread Ito Kazumitsu
The article http://lists.gnu.org/archive/html/classpath-patches/2005-04/msg00094.html is intriguing. I hope the time is coming near when we can take off Kaffe's original character/byte conversion. ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/

Re: [kaffe] HSQLDB and Kaffe

2005-04-15 Thread Ito Kazumitsu
Hi, Wolfgang Baer wrote: > Fernando Lozano wrote: > > Just to report HSQLDB (hsqldb.sf.net) seems to run fine under Kaffe > which version of HSQLDB did you tried ? The Debian package maintainer > had problems with 1.7.3 and kaffe because of NIO locking, but someone > said these problems should

Re: [kaffe] ThreadLocalTest fails

2005-04-04 Thread Ito Kazumitsu
In message "Re: [kaffe] ThreadLocalTest fails" on 05/03/20, Guilhem Lavaux <[EMAIL PROTECTED]> writes: >> ThreadLocalTest fails recently. It does not finish until killed by the >> killer process. :> I'm also experiencing other deadlocks on freebsd. I'll have a look at :> where does they co

[kaffe] ThreadLocalTest fails

2005-03-15 Thread Ito Kazumitsu
ThreadLocalTest fails recently. It does not finish until killed by the killer process. bash-3.00$ uname -a FreeBSD mq.maczuka.gcd.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 bash-3.00$ /disk/kaz/work/kaffe-inst/bin

Re: [kaffe] undefined reference to `pthread_...

2005-02-08 Thread Ito Kazumitsu
>>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> Make on FreeBSD 5.3-RELEASE failed today: :> FreeBSD's pthread requires the gcc flag -pthread for linking. :> :> Seeing the output from make, I found -pthread set for gcc compiling :>

[kaffe] undefined reference to `pthread_...

2005-02-07 Thread Ito Kazumitsu
Hi, Make on FreeBSD 5.3-RELEASE failed today: ../kaffevm/.libs/libkaffevm.so: undefined reference to `pthread_attr_getstacksize' ../kaffevm/.libs/libkaffevm.so: undefined reference to `pthread_create' and so on. FreeBSD's pthread requires the gcc flag -pthread for linking. Seeing the output f

Re: [kaffe] Bug report: java.text.SimpleDateFormat#parse

2005-02-04 Thread Ito Kazumitsu
In message "Re: [kaffe] Bug report: java.text.SimpleDateFormat#parse" on 05/01/29, Dalibor Topic <[EMAIL PROTECTED]> writes: :> And even more thanks for your patch fixing the problem :) I've merged it :> in from GNU Classpath, and now all tests pass again for me. But sadly enough, the recen

Re: [kaffe] Bug report: java.text.SimpleDateFormat#parse

2005-01-27 Thread Ito Kazumitsu
Hi, In message "Re: [kaffe] Bug report: java.text.SimpleDateFormat#parse" on 05/01/27, Dalibor Topic <[EMAIL PROTECTED]> writes: > Thanks Ito, I've applied your patch, as Andrew applied it to Classpath. > The regression test still fails for me, unfortunately. This failure occurs with a tim

Re: [kaffe] Bug report: java.text.SimpleDateFormat#parse

2005-01-24 Thread Ito Kazumitsu
In message "[kaffe] Bug report: java.text.SimpleDateFormat#parse" on 05/01/25, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > You might have found that test/regression/DateFormatTest.java fails > recently. > > This is becuase of a bug in java.text.SimpleDateFormat#

[kaffe] Bug report: java.text.SimpleDateFormat#parse

2005-01-24 Thread Ito Kazumitsu
Hi, You might have found that test/regression/DateFormatTest.java fails recently. This is becuase of a bug in java.text.SimpleDateFormat#parse. The following program shows the bug. import java.text.SimpleDateFormat; public class Z { public static void main(String args[]) throws Exce

Re: [kaffe] NumberFormat.getInstance fails

2005-01-24 Thread Ito Kazumitsu
In message "[kaffe] NumberFormat.getInstance fails" on 05/01/21, Seo Sanghyeon <[EMAIL PROTECTED]> writes: > ":" == Seo Sanghyeon <[EMAIL PROTECTED]> writes: :> java.lang.IllegalArgumentException: The specified country code is invalid :>at java.util.Currency. (Currency.java:171) :>

[kaffe] Currency and SimpleDateFormat

2005-01-23 Thread Ito Kazumitsu
In message "[kaffe] Currency, timezone, etc." on 05/01/23, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > Caused by: java.lang.IllegalArgumentException: Invalid (empty) country code > for > locale:en >at java.util.Currency. (Currency.java:187) >at

Re: [kaffe] Timezone Expression

2005-01-23 Thread Ito Kazumitsu
In message "[kaffe] Timezone Expression" on 05/01/24, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > So, Thu Oct 28 22:00:27 is correct. But anyway the timezone expression > "JDT" is wrong and it must be "JST". java.util.TimeZone.getDisplayName(dst, SH

[kaffe] Timezone Expression

2005-01-23 Thread Ito Kazumitsu
In message "[kaffe] Currency, timezone, etc." on 05/01/23, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > bash-3.00$ cat TestDate.java > import java.util.Date; > > public class TestDate > { > public static void main(String args[]) > throws

[kaffe] Currency, timezone, etc.

2005-01-22 Thread Ito Kazumitsu
Recently I found the following problems. (1) Currency related problem: While trying to run HSQLDB, java.lang.ExceptionInInitializerError at org.hsqldb.Database.reopen (Database.java:258) at org.hsqldb.Database.open (Database.java:232) at org.hsqldb.DatabaseManager.getDatabase (source f

Re: [kaffe] Bytecode fails verification when anonymous class inherits inner class of another class.

2005-01-20 Thread Ito Kazumitsu
In message "Re: [kaffe] Bytecode fails verification when anonymous class inherits inner class of another class." on 05/01/19, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > This problem must have something to do with kjc/kjc/JConstructorCall.java. Although I am not sure

Re: [kaffe] Bytecode fails verification when anonymous class inherits inner class of another class.

2005-01-18 Thread Ito Kazumitsu
In message "[kaffe] Bytecode fails verification when anonymous class inherits inner class of another class." on 05/01/16, Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes: > The resulting Second$1Inner.class contains this method: > > Method name:"" public Signature: (Second,First)void > Att

Re: [kaffe] Bytecode fails verification when anonymous class inherits inner class of another class.

2005-01-18 Thread Ito Kazumitsu
In message "Re: [kaffe] Bytecode fails verification when anonymous class inherits inner class of another class." on 05/01/17, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > I have found that this getfield is written at line 439 of > kjc/bytecode/classfile/ClassInfo.java.

Re: [kaffe] Bytecode fails verification when anonymous class inherits inner class of another class.

2005-01-17 Thread Ito Kazumitsu
In message "[kaffe] Bytecode fails verification when anonymous class inherits inner class of another class." on 05/01/16, Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes: > The resulting Second$1Inner.class contains this method: > > Method name:"" public Signature: (Second,First)void > Att

Re: [kaffe] CVS kaffe (kaz): libraries/javalib/java/nio/charset/Charset.java (providers):

2005-01-07 Thread Ito Kazumitsu
>>>>> ":" == Kaffe CVS <[EMAIL PROTECTED]> writes: :> 2005-01-07 Ito Kazumitsu <[EMAIL PROTECTED]> :> :> * libraries/javalib/java/nio/charset/Charset.java (providers): :> New method to make an array of Charset

Re: [kaffe] CVS kaffe (guilhem): Fixlets.

2004-12-31 Thread Ito Kazumitsu
> ":" == Kaffe CVS <[EMAIL PROTECTED]> writes: :> * kaffe/kaffevm/systems/unix-pthreads/syscalls.c :> (jthreadedAccept): Use the old implementation using select all the :> time. It looks like being the only really working way of handling :> timeouts. This may

[kaffe] java.nio.ByteBuffer#compact() does not set position and limit

2004-12-28 Thread Ito Kazumitsu
Hi, java.nio.ByteBuffer#compact() must set the position to the end of the moved bytes and the limit to the capacity. But this method of kaffe's, that is GNU Classpath's, does not do so when the buffer is already compact. Test program: import java.nio.ByteBuffer; public class TestByteBufferComp

[kaffe] java.io.File#isDirectory() and symbolic links

2004-12-25 Thread Ito Kazumitsu
Hi, I am afraid java.io.File#isDirectory()'s behavior of handling symbolic links is not the same as before. I do not know which is correct, but the problem is I have an application system which depends on the old behavior. Test Program: import java.io.*; public class TestDirectory { public

Re: [kaffe] CVS kaffe (kaz): libltdl/install-sh:

2004-12-07 Thread Ito Kazumitsu
In message "[kaffe] CVS kaffe (kaz): libltdl/install-sh:" on 04/12/07, Kaffe CVS <[EMAIL PROTECTED]> writes: > 2004-12-07 Ito Kazumitsu <[EMAIL PROTECTED]> > > * libltdl/install-sh: > Made it executable (chmod +x). Can the file

[kaffe] chmod +x libltdl/install-sh

2004-12-07 Thread Ito Kazumitsu
Hi, I needed to chmod +x libltdl/install-sh because "make install" on FreeBSD 5.3-RELEASE tries to execute it instead of "mkdir -p". But why should libltdl/install-sh be executed when "mkdir -p" can be used? Because the behaviour of mkdir of FreeBSD has changed and configure cannot detect it.

Re: [kaffe] HUGE speedup in KaffeEncoder/KaffeDecoder

2004-12-07 Thread Ito Kazumitsu
> "A" == Adam Heath <[EMAIL PROTECTED]> writes: A> With my fix in place, and a dump loop reading(or writing) one char at time, I A> saw a read increase of 200 fold(200 times!), and a write increase of 90 fold. A> The stupid version of my parser saw a 25 fold increase. A> ps: I do have commit

Re: [kaffe] Problem for NetBSD1.6

2004-10-21 Thread Ito Kazumitsu
r all encodings if iconv is available. > > Reported by: Ito Kazumitsu <[EMAIL PROTECTED]> > > And as the comment suggests, this bug may be caused by some relation with > NetBSD's iconv. Can anyone fix it to work? I am afraid there is something wrong in ibraries/

Re: [kaffe] org.apache.commons.net.ftp.FTPClient: disconnect() hangs

2004-10-11 Thread Ito Kazumitsu
>>>>> "I" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: I> Unfortunately, another thread is still reading from the input I> stream. PushbackInputStream's read() is also synchronized. I> So close() cannot get a lock until the read() ends. The readin

Re: [kaffe] org.apache.commons.net.ftp.FTPClient: disconnect() hangs

2004-10-11 Thread Ito Kazumitsu
In message "[kaffe] org.apache.commons.net.ftp.FTPClient: disconnect() hangs" on 04/10/11, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > While testing openadaptor, I found a case where the package > org.apache.commons.net.ftp from Jakarta Commons http://jakarta.apach

[kaffe] org.apache.commons.net.ftp.FTPClient: disconnect() hangs

2004-10-10 Thread Ito Kazumitsu
Hi, My next target application to be run with Kaffe is openadaptor (http://www.openadaptor.org/). While testing openadaptor, I found a case where the package org.apache.commons.net.ftp from Jakarta Commons http://jakarta.apache.org/ does not work properly. The attached program, which ends normal

Re: [kaffe] CVS kaffe (kaz): libraries/javalib/kaffe/io/ByteToCharConverter.java,

2004-10-06 Thread Ito Kazumitsu
In message "[kaffe] CVS kaffe (kaz): libraries/javalib/kaffe/io/ByteToCharConverter.java," on 04/10/06, Kaffe CVS <[EMAIL PROTECTED]> writes: > - useIconv.put("8859_9", "Y"); > + useIconv.put("8859_9", "ISO-8859-9"); > > alias.put("EBCDIC", "CP1046"); > useI

Re: [kaffe] kaffe/io/ConverterAlias.java

2004-10-06 Thread Ito Kazumitsu
>>>>> "I" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: I> When we use iconv, we must use the encoding name "ISO-8859-1" I> rather than "8859_1". I am modifying kaffe/io/ConverterAlias.java, kaffe/io/CharT

[kaffe] Encoder/Decoder problems

2004-10-05 Thread Ito Kazumitsu
>>>>> "I" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: I> I have found that this is caused I> by "java.io.UnsupportedEncodingException: ISO-8859-1" The following program shows that there is something wrong around ISO-8859-1. bash-2.05b$ cat Te

[kaffe] kaffe/io/ConverterAlias.java

2004-10-05 Thread Ito Kazumitsu
>>>>> "I" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: I> I have found that this is caused I> by "java.io.UnsupportedEncodingException: ISO-8859-1" kaffe/io/ConverterAlias.java reads: alias.put("ISO_8859-1:1987",&

Re: [kaffe] CVS kaffe (robilad): Fixed serialization again

2004-10-05 Thread Ito Kazumitsu
>>>>> "I" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: I> java.util.MissingResourceException: Bundle gnu/getopt/MessagesBundle not found I>at java.util.ResourceBundle.getBundle (ResourceBundle.java:394) I>at java.util.ResourceBundle.getBundle (Res

Re: [kaffe] CVS kaffe (robilad): Fixed serialization again

2004-10-04 Thread Ito Kazumitsu
> "D" == Dalibor Topic <[EMAIL PROTECTED]> writes: >> I am using jikes for building class library and kjc for regression tests. D> Thanks again for the information. I've checked in a small fix for the D> security problem I mentioned [1], now all the tests pass for me again. D> Could you upd

Re: [kaffe] Now officially supporting Kaffe for ostermiller utils libraries

2004-10-03 Thread Ito Kazumitsu
Thank you, Stephen, for testing your utilities with Kaffe. In message "[kaffe] Now officially supporting Kaffe for ostermiller utils libraries" on 04/10/03, Stephen Ostermiller <[EMAIL PROTECTED]> writes: > 3) I got the following exception when trying to run the unit test for > the Circular B

Re: [kaffe] CVS kaffe (robilad): Fixed serialization again

2004-09-30 Thread Ito Kazumitsu
Hi, > "D" == Dalibor Topic <[EMAIL PROTECTED]> writes: D> Thanks for the updated bug report. I'm currently looking into a possibly D> related issue wrt to lookup of provider file for regression tests. Do D> you see this error during regression tests, or during the class library D> build?

Re: [kaffe] CVS kaffe (robilad): Fixed serialization again

2004-09-29 Thread Ito Kazumitsu
ntations from GNU Classpath. K> (decodeBytes) Simplified. K> K> * libraries/javalib/kaffe/io/ConverterAlias.java: K> Use iconv for all encodings if iconv is available. K> K> Reported by: Ito Kazumitsu <[EMAIL PROTECTED]> Thank you. But this tim

[kaffe] java.security.NoSuchAlgorithmException: SHA

2004-09-29 Thread Ito Kazumitsu
Hi, Today's make check on Linux 2.6.7-co-0.6.2 showed: FAIL: TestSerializable2.java FAIL: SerialPersistentFields.java FAIL: TestSerialPersistent.java FAIL: SerialUID.java FAIL: Alias.java FAIL: HashTest.java FAIL: SecureRandomTest.java FAIL: PropertiesTest.java FAIL: DateFormatTest.java FAIL: Zip

Re: [kaffe] libz was not found by Kaffe configure script

2004-09-24 Thread Ito Kazumitsu
> "D" == Dalibor Topic <[EMAIL PROTECTED]> writes: >> After installing zlib and rebuilding kaffe, all the tests passed. >> >> Now kaffe works on coLinux on Windows XP. D> Thanks a lot for testing, Ito! I guess you had to install the zlib D> developer packages? Yes. The distribution Linux M

Re: [kaffe] libz was not found by Kaffe configure script

2004-09-24 Thread Ito Kazumitsu
>>>>> "I" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: I> kaffe.util.SupportDisabled: libz was not found by Kaffe configure script I> I> How can I make it through? By the way I find something like libz here: I> I> [EMAIL PROTECTED]:~$ ls -al /usr/

Re: [kaffe] mklinux problem (seems recurring from other platforms)

2004-09-24 Thread Ito Kazumitsu
> "R" == Riccardo <[EMAIL PROTECTED]> writes: R> make[2]: Entering directory `/home/multix/kaffe-build/kaffe-ppc/po' R> cd ../../kaffe/po && : --update fr.po kaffe.pot R> cd ../../kaffe/po && rm -f fr.gmo && : -c --statistics -o fr.gmo fr.po R> mv: cannot stat `t-fr.gmo': No such file or dire

[kaffe] libz was not found by Kaffe configure script

2004-09-22 Thread Ito Kazumitsu
Hi, I am trying to use kaffe on Linux MLD mini 3.0 D (http://www.mlb.co.jp/linux/mini3/index.html) based on coLinux (http://www.colinux.org/) on Windows XP. It went almost successfully, but two regression tests, DosTimeVerify and ZipTest, failed. Both says: kaffe.util.SupportDisabled: libz was

Re: [kaffe] libraries/javalib/java/net/Socket.java

2004-09-14 Thread Ito Kazumitsu
In message "Re: [kaffe] libraries/javalib/java/net/Socket.java" on 04/09/15, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > isBound() returns false when it should return true. This happens to sockets returned by ServerSocket.accept(). A server socket creates a socket usin

Re: [kaffe] libraries/javalib/java/net/Socket.java

2004-09-14 Thread Ito Kazumitsu
In message "[kaffe] libraries/javalib/java/net/Socket.java" on 04/09/15, Gustavo Guillermo Perez <[EMAIL PROTECTED]> writes: > I saw this, but I was thinking that uClibc, has a little bit of fault. > I'm having problems with sockets at the moment of getting the port too, the > local one. May

Re: [kaffe] java.lang.UnsatisfiedLinkError: libsecurity: not found.

2004-09-14 Thread Ito Kazumitsu
In message "Re: [kaffe] java.lang.UnsatisfiedLinkError: libsecurity: not found." on 04/09/15, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > BOOTCLASSPATH=lib:./Klasses.jar.bootstrap > KAFFELIBRARYPATH=../../libraries/clib/native/:../../libraries/clib/io/:..

Re: [kaffe] java.lang.UnsatisfiedLinkError: libsecurity: not found.

2004-09-14 Thread Ito Kazumitsu
> "D" == Dalibor Topic <[EMAIL PROTECTED]> writes: D> thanks for the bug report. I've fixed it by adding the security D> library's directory to KAFFELIBRARYPATH. Thanks. But the next problem is: adding: kaffe/io/CharToByteCP918.ser (in=2066) (out=1053) (deflated 51%) adding: kaffe/io/CharT

[kaffe] java.lang.UnsatisfiedLinkError: libsecurity: not found.

2004-09-14 Thread Ito Kazumitsu
Hi, Today's make showed: echo timestamp > lib/stamp rm -f rt.jar BOOTCLASSPATH=lib:./Klasses.jar.bootstrap KAFFELIBRARYPATH=../../libraries/clib/native/:../../libraries/clib/io/:../../libraries/clib/zip/:../../libraries/clib/nio/ ../../kaffe/kaffe/kaffe-bin kaffe.tools.jar.Jar -cvf rt.jar -C li

[kaffe] java.net.Socket#getLocalAddress() should return anylocal if not bound

2004-09-14 Thread Ito Kazumitsu
Hi, While running Jetty 4.2.20 with kaffe (ChangeLog head : 2004-09-06 Dalibor Topic), I found a case where an unexpected NullPointerException is thrown. And I have found a possible bug in java.net.Socket. Sun's API document says about java.net.Socket#getLocalAddress(): Returns:

Re: [kaffe] HAVE_BROKEN_SO_RCVTIMEO

2004-08-26 Thread Ito Kazumitsu
>>>>> "I" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: I> Now on my FreeBSD 5.1-RELEASE machine, regression test for I> SoTimeout.java fails. I think the following may be the I> cause of this failure. It seems that FreeBSD's bug http://www.FreeBS

Re: [kaffe] HAVE_BROKEN_SO_RCVTIMEO

2004-08-26 Thread Ito Kazumitsu
Hi, > "D" == Dalibor Topic <[EMAIL PROTECTED]> writes: D> Could you post the relevant part of config.log? Riccardo and Guilhem D> have observed a similar issue on sparc-solaris, it may be that the D> SO_RCVTIME0 test fails to link on some *BSDs and therefore gives a D> wroing result. Yes,

[kaffe] HAVE_BROKEN_SO_RCVTIMEO

2004-08-26 Thread Ito Kazumitsu
Hi, Now on my FreeBSD 5.1-RELEASE machine, regression test for SoTimeout.java fails. I think the following may be the cause of this failure. Now that kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c has been changed as follows: ===

Re: [kaffe] --with-rt-jar=PATH_TO_RT_JAR

2004-08-25 Thread Ito Kazumitsu
Thanks, Dalibor. > "D" == Dalibor Topic <[EMAIL PROTECTED]> writes: D> The actual problem was that JNI headers were not generated for some D> classes because the precompiled rt.jar was not passed to kaffeh. That's D> fixed now, and it builds fine again, as far as I can tell :) I works fine

Re: [kaffe] --with-rt-jar=PATH_TO_RT_JAR

2004-08-19 Thread Ito Kazumitsu
Hi, >>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> I am afraid --with-rt-jar=PATH_TO_RT_JAR does not work now. Is anyone aware of this issue? On my poor old Pentium 199.90 MHz machine with 32MB memory, make JAVAC=jikes won&

Re: [kaffe] __SIGRTMIN undefined: kaffe/kaffevm/systems/unix-pthreads/thread-impl.c

2004-08-18 Thread Ito Kazumitsu
> "+" == Dalibor Topic <[EMAIL PROTECTED]> writes: +> looking at strace signal handling code at +> http://cvs.sourceforge.net/viewcvs.py/strace/strace/signal.c?rev=1.46 +> would that work for you, if it's in common.h? Thanks, Dalibor. I have not tried this, but Guilhem's last patch to kaf

Re: [kaffe] __SIGRTMIN undefined: kaffe/kaffevm/systems/unix-pthreads/thread-impl.c

2004-08-06 Thread Ito Kazumitsu
>>>>> "`" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: >>>>> ":" == Guilhem Lavaux <[EMAIL PROTECTED]> writes: `> :> SIGUSR1 may be used but it is a problem for old LinuxThreads `> :> implementation. I can try SIGIO whi

Re: [kaffe] __SIGRTMIN undefined: kaffe/kaffevm/systems/unix-pthreads/thread-impl.c

2004-08-05 Thread Ito Kazumitsu
> ":" == Guilhem Lavaux <[EMAIL PROTECTED]> writes: :> SIGUSR1 may be used but it is a problem for old LinuxThreads :> implementation. I can try SIGIO which should not be used in kaffe... :> :> In the meanwhile, I suggest you to put SIGUSR1 anyway. You mean "#define SIG_INTERRUPT SIGUSR1"?

[kaffe] __SIGRTMIN undefined: kaffe/kaffevm/systems/unix-pthreads/thread-impl.c

2004-08-04 Thread Ito Kazumitsu
Hi, kaffe/kaffevm/systems/unix-pthreads/thread-impl.c reads: #if !defined(__SIGRTMIN) || (__SIGRTMAX - __SIGRTMIN < 7) ... #endif #define SIG_INTERRUPT (__SIGRTMIN+2) What if !defined(__SIGRTMIN)? And that is happening in my case: FreeBSD 5.1-RELEASE on i386.

Re: [kaffe] kaffe: different compilers giving different results for the same source file

2004-08-04 Thread Ito Kazumitsu
Hi, In message "[kaffe] kaffe: different compilers giving different results for the same source file" on 04/08/03, Rogério Brito <[EMAIL PROTECTED]> writes: > Anyway, I have one source file that *fails* to compile with Blackdown's > JDK, but that compiles *correctly* with kaffe's compiler. S

[kaffe] typo in libraries/clib/awt/X/Makefile

2004-08-03 Thread Ito Kazumitsu
Hi, Please change libxawt_la_CFLAGS = \ $(CFLAGS_PG) \ $(X_FLAGS) to libxawt_la_CFLAGS = \ $(CFLAGS_PG) \ $(X_CFLAGS) ^ Thank you. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/

[kaffe] configure shows error messages

2004-07-30 Thread Ito Kazumitsu
Today's configure shows the following two messages. ./configure: line 27350: test: no: integer expression expected ./configure: line 53725: test: =: unary operator expected I forced configure to pass by changing if test x"$ac_cv_gnu_library_version" != x"no" -a "$ac_cv_gnu_library_versio

[kaffe] --with-rt-jar=PATH_TO_RT_JAR

2004-07-28 Thread Ito Kazumitsu
Hi, I am afraid --with-rt-jar=PATH_TO_RT_JAR does not work now. Although I configured kaffe with this option, which has been my practice when I build kaffe on a slow machine, make now tries to compile libraries/javalib files. ___ kaffe mailing list [EM

Re: [kaffe] Swing/AWT merge from GNU Classpath done

2004-07-24 Thread Ito Kazumitsu
> "*" == Mark Wielaard <[EMAIL PROTECTED]> writes: *> Note that this configure option got renamed to --without-kaffe-qt-awt Thanks. Now configure has passed. But another problem that jikes dumps core while compiling library files is still there. My jikes is Version 1.19. Do we need anothe

Re: [kaffe] Swing/AWT merge from GNU Classpath done

2004-07-24 Thread Ito Kazumitsu
> ":" == Dalibor Topic <[EMAIL PROTECTED]> writes: >> So I had to explicitly add >> >> --without-classpath-gtk-awt >> --without-kaffe-qte-awt >> >> to get configure working. :> yeah. If that turns out to be too much of a hassle, we can change the :> native AWT code defaults. If we merge in

Re: [kaffe] Does kaffe work on IPv6 networks??

2004-07-22 Thread Ito Kazumitsu
Hi, > ":" == Dalibor Topic <[EMAIL PROTECTED]> writes: :> Inma Marín López wrote: >> I would like to know if kaffe works on IPv6 networks and if it also >> works on pda + IPv6, please. :> It should work with ip6, the code is in there. I can hardly say I am on an IPv6 network, but my FreeB

Re: [kaffe] Swing/AWT merge from GNU Classpath done

2004-07-22 Thread Ito Kazumitsu
Hi, > ":" == Dalibor Topic <[EMAIL PROTECTED]> writes: :> * configure now tries to build all three awts by default. Xlib, Qt(e) :> and classpath's gtk awt. Classpath's GTK awt is the default, but you can :> switch kaffe to use another one by simply using an -X* option. So I had to explicit

Re: [kaffe] Problem loading non-class files from jar (Velocity on Tomcat5)

2004-07-22 Thread Ito Kazumitsu
Hi, In message "[kaffe] Problem loading non-class files from jar (Velocity on Tomcat5)" on 04/07/22, Alan Tam <[EMAIL PROTECTED]> writes: > I tried Velocity on Tomcat (running on kaffe CVS head) and it failed > with NullPointerException when it is trying to load velocity.properties, > which

Re: [kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-16 Thread Ito Kazumitsu
> "*" == Guilhem Lavaux <[EMAIL PROTECTED]> writes: *> Actually, ThreadStop is expected to fail. Howevere, SoTimeout should not *> fail. I'll have a *> closer look at it. Thanks. SoTimeout.fail says: java.io.IOException: Numerical argument out of domain at gnu.java.net.PlainSocketImpl.s

Re: [kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-15 Thread Ito Kazumitsu
Thank you Guilhem, > "*" == Guilhem Lavaux <[EMAIL PROTECTED]> writes: *> This is fixed in the CVS HEAD now. I had removed a jmutex_lock *> incidentally when fixing solaris. It is working here now with pthreads. *> Could you test it ? Yes, it works except that two regression tests, that is

Re: [kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-14 Thread Ito Kazumitsu
> "*" == Guilhem Lavaux <[EMAIL PROTECTED]> writes: *> Hmm... I've just tried running kaffe on freebsd 5.1 on my laptop and it *> manages to run kjc to build the class library so I guess it works. Yes, it worked for me, too, after changing the configuration option --with-threads from unix-pt

Re: [kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-13 Thread Ito Kazumitsu
> ":" == Guilhem Lavaux <[EMAIL PROTECTED]> writes: :> Thanks ! Could you try the attached patch ? I think I've just forgotten :> to update semantics in md.h/md.c Thank you, Guilhem. Unfortunately, applying the patch did not solve the problem. kaffe -vmdebug SLOWLOCKS still shows getHea

[kaffe] make failes in kaffe/kaffevm

2004-07-12 Thread Ito Kazumitsu
Hi, make in kaffe/kaffevm says: make[3]: *** No rule to make target `stamp-h01', needed by `md.c'. Stop. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Re: [kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-12 Thread Ito Kazumitsu
>>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> I am afraid some recent changes have made kaffe unusable on :> FreeBSD 5.1-RELEASE. As far as I know, the last CVS version that worked on FreeBSD 5.1-RELEASE is the one whose ChangeLog head is:

Re: [kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-12 Thread Ito Kazumitsu
I am resending this article because my last post seems to have been lost. >>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> Hi, :> I am afraid some recent changes have made kaffe unusable on :> FreeBSD 5.1-RELEASE. kaffe -v -vmdebug SLOWLOCKS show

Re: [kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-12 Thread Ito Kazumitsu
>>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> Hi, :> I am afraid some recent changes have made kaffe unusable on :> FreeBSD 5.1-RELEASE. kaffe -v -vmdebug SLOWLOCKS shows: Loading java/lang/Object.class(/disk/kaz/work/kaffe-inst/jre/lib/r

[kaffe] _POSIX_THREAD_PROCESS_SHARED

2004-07-11 Thread Ito Kazumitsu
Hi, I have just commited a patch to kaffe/kaffevm/systems/unix-pthreads/lock-impl.h, changing if defined(_POSIX_THREAD_PROCESS_SHARED) to if defined(_POSIX_THREAD_PROCESS_SHARED) && _POSIX_THREAD_PROCESS_SHARED != -1 This patch was necessary becuase FreeBSD 5.1-RELEASE explicitly def

[kaffe] Does not work on FreeBSD 5.1-RELEASE

2004-07-10 Thread Ito Kazumitsu
Hi, I am afraid some recent changes have made kaffe unusable on FreeBSD 5.1-RELEASE. bash-2.05b$ cat DoNothing.java public class DoNothing { public static void main(String[] args) {} } bash-2.05b$ kaffe -v DoNothing Loading java/lang/Object.class(/disk/kaz/work/kaffe-inst/jre/lib/rt.jar) [comp

Re: [kaffe] Re: Compilation failure with older gcc

2004-07-04 Thread Ito Kazumitsu
> ":" == Riccardo <[EMAIL PROTECTED]> writes: :> (good to see we 2.95 users are not alone. I have it on OpenBSD/sparc and :> IRIX too) I have it on FreeBSD 4.7-RELEASE, too. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailma

[kaffe] KJC: [JLS 4.4.4] issue

2004-07-01 Thread Ito Kazumitsu
Hi, I do not whether this is a bug of kjc or a bug of the program being compiled, the attached two files can be compiled together but not separately. This does not happen when I use Sun's javac. This is a problem which I found when I was compiling java/text/MessageFormat.java. bash-2.05b$ cat a

Re: [kaffe] Bug: java/text/MessageFormat.java

2004-06-15 Thread Ito Kazumitsu
In message "[kaffe] Bug: java/text/MessageFormat.java" on 04/06/15, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > And here is my patch. I am afraid this patch is not strictly correct > but I think it is better than nothing. This must be better: --- java/text/Message

[kaffe] Bug: java/text/MessageFormat.java

2004-06-14 Thread Ito Kazumitsu
Hi, While testing an example that comes with VelocityStruts (http://jakarta.apache.org/velocity/tools/index.html), I found the following bug. What the API document says: An argument is unavailable if arguments is null or has fewer than argumentIndex+1 elements. Subformat Argument

Re: [kaffe] Pipes kept open after executing subprocesses

2004-06-07 Thread Ito Kazumitsu
In message "Re: [kaffe] Pipes kept open after executing subprocesses" on 04/06/08, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > No! This may close a stream while the caller application is > still using it. Here is another patch which seems to work. --- librar

Re: [kaffe] Pipes kept open after executing subprocesses

2004-06-07 Thread Ito Kazumitsu
In message "Re: [kaffe] Pipes kept open after executing subprocesses" on 04/06/08, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > Not only sync_fd but also stdin, stdout and stderr should be > closed because the application that called the subprocess > may not have clos

Re: [kaffe] Pipes kept open after executing subprocesses

2004-06-07 Thread Ito Kazumitsu
In message "[kaffe] Pipes kept open after executing subprocesses" on 04/06/07, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > The attached program shows that some pipes used for executing subprocesses > are not closed when they are no longer needed. This will cause a

[kaffe] Pipes kept open after executing subprocesses

2004-06-06 Thread Ito Kazumitsu
Hi, The attached program shows that some pipes used for executing subprocesses are not closed when they are no longer needed. This will cause a "too many open files" error in a long run. I am afraid that FileDescriptor sync_fd in libraries/javalib/kaffe/lang/UNIXProcess.java has something to do

Re: [kaffe] Saxon 7.9.1 does not work

2004-05-31 Thread Ito Kazumitsu
In message "Re: [kaffe] Saxon 7.9.1 does not work" on 04/06/01, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > When run with kaffe of 2004-05-14: > bash-2.05b$ java Test 0 > file:/home/kaz/javatest/0 > > When run with kaffe of 2004-05-27: > bash-2.05b$ java T

Re: [kaffe] Saxon 7.9.1 does not work

2004-05-31 Thread Ito Kazumitsu
>>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> Hi, :> Saxon 7.9.1 worked fine with kaffe whose ChangeLog head was: :> 2004-05-14 Guilhem Lavaux <[EMAIL PROTECTED]> :> :> But some of recent changes made kaffe incapable of running Sa

[kaffe] Saxon 7.9.1 does not work

2004-05-27 Thread Ito Kazumitsu
Hi, Saxon 7.9.1 worked fine with kaffe whose ChangeLog head was: 2004-05-14 Guilhem Lavaux <[EMAIL PROTECTED]> But some of recent changes made kaffe incapable of running Saxon 7.9.1. java.lang.IllegalArgumentException: Empty name not allowed for Permission at java.security.Permission. (Permi

Re: [kaffe] NetworkInterfaceTest failed

2004-05-24 Thread Ito Kazumitsu
> ":" == Dalibor Topic <[EMAIL PROTECTED]> writes: :> Done & checked in. Ito, could you give it a try? If it works for you, :> then I'll send it upstream to GNU Classpath. Thank you. NetworkInterfaceTest passed. ___ kaffe mailing list [EMAIL PROT

Re: [kaffe] WARNING Bad bytecode! Illegal exception table entry

2004-05-23 Thread Ito Kazumitsu
Hi, > ":" == Helmer Krämer <[EMAIL PROTECTED]> writes: :> On the one hand, KJC is clever enough to detect that the :> condition of the if will always be true, and thus removes :> it from the bytecode. On the other hand, KJC is not clever :> enough to detect and remove the unreachable statemen

[kaffe] WARNING Bad bytecode! Illegal exception table entry

2004-05-21 Thread Ito Kazumitsu
Hi, The following program, when compiled with kjc, prints the strange message, but runs normally when compiled with Sun's javac. bash-2.05b$ cat B.java public class B { public static void main(String[] args) { System.out.println(foo()); } private static int foo() { int n = 0; t

Re: [kaffe] NetworkInterfaceTest failed

2004-05-21 Thread Ito Kazumitsu
> The network interface ed0 has two addresses: >inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255 >inet6 fe80::290:99ff:fe5f:4cb2%ed0 prefixlen 64 scopeid 0x2 > In this case, I think, java.net.getNetworkInterfaces() should > return one interface, [ed0 {192.168.0.4, fe80:

Re: [kaffe] NetworkInterfaceTest failed

2004-05-20 Thread Ito Kazumitsu
>>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes: :> Hi, IPv6 issue again. This is not necessarily an IPv6 issue. :> getByName failed: name: ed0 (ed0) addresses: :> fe80:2::290:99ff:fe5f:4cb2/fe80:2:::290:99ff:fe5f:4cb2; :> != name: ed0 (ed0)

[kaffe] NetworkInterfaceTest failed

2004-05-19 Thread Ito Kazumitsu
Hi, IPv6 issue again. Make check shows: FAIL: NetworkInterfaceTest.java 1 of 144 tests failed Please report to [EMAIL PROTECTED] NetworkInterfaceTest.fail says: getByName failed: name: ed0 (ed0) addresses: fe80:2::290:99ff:fe5f:4c

Re: [kaffe] CVS kaffe (dalibor): Fixed alignment problem on m68k-netbsd

2004-05-19 Thread Ito Kazumitsu
> ":" == pancake <[EMAIL PROTECTED]> writes: :> does anybody tested that on freebsd? kaffe on freebsd 5.2 segfaults and I don't know if it solves the bug. Yes, but not on FreeBSD 5.2, but on FreeBSD 5.1-RELEASE. ChangeLog head: 2004-05-19 Kiyo Inaba <[EMAIL PROTECTED]> * config

Re: [kaffe] Performance considerably worsened

2004-04-25 Thread Ito Kazumitsu
Hi, Guilhem. >>>>> ":" == Guilhem Lavaux <[EMAIL PROTECTED]> writes: :> On Sat, 2004-04-24 at 03:14, Ito Kazumitsu wrote: >> Don't you feel the worsening of performance of kaffe these days? :> Could you tell me if it concerns only the base

<    1   2   3   4   5   >