Re: Question on nested types

2001-09-17 Thread Eric Blake
No, javac and jikes are correct. Similarly, it is possible for a private field to hide a visible field: class A { public int i; } class B extends A { private int i; } class C extends B { void foo() { // illegal, i is hidden in B, and A's i is not available // i++; } } Also, see

Joining all non-daemon threads

2001-09-17 Thread Patrick Doyle
I'm wondering how JVMs implement non-daemon threads. The VM must join all active non-daemon threads before it exits, so that the VM doesn't exit until all non-daemon threads terminate. Then, I gather, when all non-daemon threads are done, it must terminate all daemon threads and then exit.

Re: Sablepath packages available to download

2001-09-17 Thread Etienne M. Gagnon
Hi Takashi, Takashi Okamoto wrote: However, one is disappointed. Sablepath isn't compatible with classpath. For examples, you modified following: System.loadLibrary(java-io); ORP 1.0.6 works with sableepath but it shows warning message because JNI library name is different. If you

Re: Question on nested types

2001-09-17 Thread Erwin Bolwidt
On Sun, 16 Sep 2001, Eric Blake wrote: I just noticed the JDK 1.4 documentation for java.util.Hashtable claims that Hashtable inherits the nested type Entry from Map: http://java.sun.com/j2se/1.4/docs/api/java/util/Hashtable.html This would mean that the following program should be legal,

Re: Fw: java.beans.beancontext.BeanContextSupport

2001-09-17 Thread Per Bothner
Anthony Green wrote: Hey Per -- Perhaps you're not on the classpath list... No. BeanContextSupport is used by Jetty. I believe Per had Jetty working with GCJ, No, I don't recall working on Jetty. I've played with Jigsaw and gnu-paperclips; I believe i got the former basically working.

Re: Joining all non-daemon threads

2001-09-17 Thread Tom Tromey
Patrick == Patrick Doyle [EMAIL PROTECTED] writes: Patrick What's the easiest way to implement this? Does ThreadGroup Patrick provide enough functionality to do it? Or do I have to Patrick maintain a list of active threads myself? Does Classpath Patrick have any additional functionality to

libgcj / Classpath merge report

2001-09-17 Thread Tom Tromey
I've checked my libgcj/classpath comparison script into the libgcj web page CVS repository. I've also run the script and put the output there. I plan to update it periodically as merges are done. You can see it here: http://gcc.gnu.org/java/libgcj-classpath-compare.html Tom

Re: classpath ./AUTHORS ./ChangeLog java/util/HashM...

2001-09-17 Thread Tom Tromey
Eric == Eric Blake [EMAIL PROTECTED] writes: Eric Modified files: Eric . : AUTHORS ChangeLog Eric java/util : HashMap.java Hashtable.java Eric * java/util/Hashtable.java (contains): check for null Eric (Hashtable(Map)): more efficient Eric (clear): more efficient