Re: Regression Test failures in current CVS

2000-01-14 Thread Dalibor Topic




--- Alexandre Oliva [EMAIL PROTECTED] wrote:
 On Jan 14, 2000, Dalibor Topic [EMAIL PROTECTED]
 wrote:

 Try to unset it, or to set it to C.  I think en_US
 disregards case.
 We should probably arrange to set LANG=C in
 TestScript, if it is set
 to something else, if this solves the problem.

Actually it was LC_ALL ... after setting it to C
everything worked fine. Thanks for your help,
Alexandre.

Adding a LC_ALL=C in the TestScript would be nice, it
is not set there at all.

read ya,

dali

=
"Success means never having to wear a suit"
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



Re: Regression Test failures in current CVS

2000-01-14 Thread Alexandre Oliva


On Jan 14, 2000, Dalibor Topic [EMAIL PROTECTED] wrote:

 Adding a LC_ALL=C in the TestScript would be nice, it
 is not set there at all.

Thanks.  I'm arranging that both LC_ALL and LANG are reset to C if
they're previously set.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



Re: File.getAbsolutePath() bugfix

2000-01-14 Thread Mike Linksvayer


On Thu, Jan 13, 2000 at 02:37:13PM -0500, Mike Linksvayer wrote:
 Argh, please unfix.  I'm an idiot ... the behavior of getAbsolutePath()
 is correct, only getCanonicalPath() is incorrect.  I'll post a real
 fix tonight, after I've tested more thoroughly.

It happens that getCanonicalPath was fixed on January 4.  Luck
would have it that I was working with code I retreived on January
3.  I had assumed that cvs diff would give me differences between
the head revision and my file, but apparently it gives the differences
between the revision I have checked out and my file ... I haven't
used cvs in two years. :(

Now I've encountered another problem:  Process.destroy() causes
kaffe to exit without a stack trace and without a core file.  The
following simple program never prints "destroyed" on my system
(Debian 2.1, kernel 2.2.1, gcc 2.7.2.3).

public class destroy {
public static void main(String[] args) {
try {
System.err.println("starting process");
Process p = Runtime.getRuntime().exec("sleep 5");
System.err.println("started process, destroying");
p.destroy();
System.err.println("destroyed process");
} catch (Throwable t) { t.printStackTrace(); }
}
}

I haven't tried running in gdb yet.

Another question:  Is it safe to use gcc 2.95?
http://www.kaffe.org/trouble.html says egcs is not ok, but that's
dated 4/99, and I've read about experimental gcj support which
obviously would require egcs.  I ask because I've tried very briefly
to compile and run kaffe on Solaris and Suse systems and egcs with
bad results.

-- 
  See From: and Organization: above.



BUG (small) in java.util.Vector

2000-01-14 Thread jan grant


Since this class now implements java.util.List, it's worth pointing out
that
java.util.Vector doesn't supply an implementation for add (although it
has the
functionally identical addElement)

It's a trivial fix; what's the state-of-play regarding the 1.2-ness of
Kaffe's
classes?

jan
-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 [EMAIL PROTECTED]
Unfortunately, I have a very good idea of how fast my keys are moving.



Re: File.getAbsolutePath() bugfix

2000-01-14 Thread Alexandre Oliva


On Jan 14, 2000, "Edouard G. Parmelan" [EMAIL PROTECTED] wrote:

 I see, pid is not saved after fork.
 Fixed now, thanks.

BTW, waitpid doesn't load pid either :-(

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



how do I get off this list ?

2000-01-14 Thread Bekkelund, Morten


Can anyone tell me how to get OFF this list?



Re: how do I get off this list ?

2000-01-14 Thread Edouard G. Parmelan


Bekkelund, Morten wrote:

 Can anyone tell me how to get OFF this list?

If you ever want to remove yourself from this mailing list,
you can send mail to [EMAIL PROTECTED] with the following
command in the body of your email message:

unsubscribe kaffe

or from another account, besides [EMAIL PROTECTED]: 

unsubscribe kaffe [EMAIL PROTECTED]

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to [EMAIL PROTECTED] .
This is the general rule for most mailing lists when you need
to contact a human.
-- 
Edouard G. Parmelan
http://egp.free.fr



Re: File.getAbsolutePath() bugfix

2000-01-14 Thread Edouard G. Parmelan


Alexandre Oliva wrote:

  I see, pid is not saved after fork.
  Fixed now, thanks.
 
 BTW, waitpid doesn't load pid either :-(

Okay, I will fix that too, but I have to check KWAITPID() also.  For
exemple in unix-jthread(), it loop on error (with a comment) but on
BeOS, it return the error :(

I will look that this WE.
-- 
Edouard G. Parmelan
http://egp.free.fr



Re: BUG (small) in java.util.Vector

2000-01-14 Thread Archie Cobbs


jan grant writes:
 Since this class now implements java.util.List, it's worth pointing out
 that
 java.util.Vector doesn't supply an implementation for add (although it
 has the
 functionally identical addElement)

It's implemented in the superclass, AbstractList. Is there a functional
reason we should override it (versus just to do the same as JDK does)?

 It's a trivial fix; what's the state-of-play regarding the 1.2-ness of
 Kaffe's classes?

We try to be 1.2 compliant.. it's mostly true but not completely true.

-Archie

___
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



KAFFE_DEBUG problem

2000-01-14 Thread Samuel Sanseri


I'm having a problem with running Kaffe with KAFFE_DEBUG
environment variable set to gdb.
(When KAFFE_DEBUG is not set, the program works just fine.)



% kaffe HelloWorld

(gdb) run
Starting program: /local/apps/kaffe-devel/libexec/Kaffe -verify HelloWorld
Couldn't find or load essential class `java/lang/Object' 
java.lang.NoClassDefFoundError java/lang/Object



Here's the program:

import Java.lang.*;

public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}



Any help would be appreciated.

Regards,

Samuel Sanseri
[EMAIL PROTECTED]



Re: KAFFE_DEBUG problem

2000-01-14 Thread Samuel Sanseri


One small correction in the program, sorry:
I still have the problem.  This is Kaffe version 1.0.5.

 
 
 I'm having a problem with running Kaffe with KAFFE_DEBUG
 environment variable set to gdb.
 (When KAFFE_DEBUG is not set, the program works just fine.)
 
 
 
 % kaffe HelloWorld
 
 (gdb) run
 Starting program: /local/apps/kaffe-devel/libexec/Kaffe -verify HelloWorld
 Couldn't find or load essential class `java/lang/Object' 
java.lang.NoClassDefFoundError java/lang/Object
 
 
 
 Here's the program:
 
 import java.lang.*;
 
 public class HelloWorld {
 public static void main(String args[]) {
 System.out.println("Hello World!");
 }
 }
 
 
 
 Any help would be appreciated.
 
 Regards,
 
 Samuel Sanseri
 [EMAIL PROTECTED]
 



Re: KAFFE_DEBUG problem

2000-01-14 Thread Archie Cobbs


Samuel Sanseri writes:
 I'm having a problem with running Kaffe with KAFFE_DEBUG
 environment variable set to gdb.
 (When KAFFE_DEBUG is not set, the program works just fine.)
 
 
 
 % kaffe HelloWorld
 
 (gdb) run
 Starting program: /local/apps/kaffe-devel/libexec/Kaffe -verify HelloWorld
 Couldn't find or load essential class `java/lang/Object' 
java.lang.NoClassDefFoundError java/lang/Object

Are you setting CLASSPATH in your .cshrc ?
gdb reads that file in before executing a program.

-Archie

___
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Re: KAFFE_DEBUG problem

2000-01-14 Thread Samuel Sanseri



Yes, thank you.  When I commented out my CLASSPATH
setting in .cshrc, the problem was fixed. 

Samuel

 
 
 Samuel Sanseri writes:
  I'm having a problem with running Kaffe with KAFFE_DEBUG
  environment variable set to gdb.
  (When KAFFE_DEBUG is not set, the program works just fine.)
  
  
  
  % kaffe HelloWorld
  
  (gdb) run
  Starting program: /local/apps/kaffe-devel/libexec/Kaffe -verify HelloWorld
  Couldn't find or load essential class `java/lang/Object' 
java.lang.NoClassDefFoundError java/lang/Object
 
 Are you setting CLASSPATH in your .cshrc ?
 gdb reads that file in before executing a program.
 
 -Archie
 
 ___
 Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com