[kaffe] CVS kaffe (jim): Add unimplemented java.io.RandomAccessFile.setLength(int) method
PatchSet 3995 Date: 2003/08/29 22:37:24 Author: jim Branch: HEAD Tag: (none) Log: Add unimplemented java.io.RandomAccessFile.setLength(int) method (need for compiling ant from CVS). Members: ChangeLog:1.1591-1.1592 libraries/javalib/java/io/RandomAccessFile.java:1.21-1.22 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.1591 kaffe/ChangeLog:1.1592 --- kaffe/ChangeLog:1.1591 Fri Aug 29 21:57:10 2003 +++ kaffe/ChangeLog Fri Aug 29 22:37:24 2003 @@ -1,5 +1,11 @@ 2003-08-29 Jim Pick [EMAIL PROTECTED] + * libraries/javalib/java/io/RandomAccessFile.java: + Add unimplemented java.io.RandomAccessFile.setLength(int) method + (need for compiling ant from CVS). + +2003-08-29 Jim Pick [EMAIL PROTECTED] + * kaffe/kaffe/main.c: Add support for -Xbootclasspath/p: option. Lazily not implementing -Xbootclasspath: and -Xbootclasspath/a: for now. Index: kaffe/libraries/javalib/java/io/RandomAccessFile.java diff -u kaffe/libraries/javalib/java/io/RandomAccessFile.java:1.21 kaffe/libraries/javalib/java/io/RandomAccessFile.java:1.22 --- kaffe/libraries/javalib/java/io/RandomAccessFile.java:1.21 Wed Apr 2 22:30:12 2003 +++ kaffe/libraries/javalib/java/io/RandomAccessFile.java Fri Aug 29 22:37:25 2003 @@ -50,6 +50,11 @@ native public long length() throws IOException; +public void setLength(long newLen) throws IOException +{ + throw new Error(Not implemented); +} + native private void open(String name, boolean rw); native public int read() throws IOException; ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] CVS kaffe (jim): Add unimplemented java.io.RandomAccessFile.setLength(int) method
Add unimplemented java.io.RandomAccessFile.setLength(int) method (need for compiling ant from CVS). Well, I guess we really need to implement it for ant. I'll use an older version of ant, for now. Guilhem, you're looking at doing a java.io.* merge with Classpath, right? Cheers, - Jim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Bug Report: StackOverflowError and Collections
Hi, I'm running into problems building ant from CVS (4/28/2003 00:00 UTC), on an x86 Linux machine with the defaults (jthreads/jit3). It fails like this: ... Building Ant Distribution Buildfile: build.xml BUILD FAILED java.lang.StackOverflowError No stacktrace available Total time: 0 seconds java.lang.StackOverflowError No stacktrace available ... Failed Building Ant Distribution ! It used to work. I chased it down to this particular change (the Classpath Collections merge). I tried increasing the stack size using the -ss option, but it didn't seem to help. I'll try to debug this when I get time, but I thought I'd report it first. Cheers, - Jim On Tue, 12 Aug 2003 16:02:20 -0700 Kaffe CVS [EMAIL PROTECTED] wrote: CVSROOT: /cvs/kaffe Module name: kaffe Changes by: hkraemer03/08/12 16:02:20 Modified files: . : ChangeLog libraries/javalib: Klasses.jar.bootstrap Makefile.am Makefile.in libraries/javalib/profiles/default: core.files libraries/javalib/profiles/allatonce: all.files libraries/javalib/java/lang: Float.java Double.java libraries/javalib/java/util: AbstractListIterator.java AbstractMap.java AbstractSequentialList.java AbstractSet.java ArrayList.java Arrays.java Collections.java Dictionary.java HashMap.java HashSet.java Hashtable.java LinkedList.java TreeMap.java TreeSet.java Vector.java WeakHashMap.java Added files: libraries/javalib/java/util: IdentityHashMap.java LinkedHashMap.java LinkedHashSet.java Removed files: libraries/javalib/java/util: LinkedListIterator.java Log message: * libraries/javalib/java/lang/Float.java, libraries/javalib/java/lang/Double.java: (compare) new methods found in jdk1.4 * libraries/javalib/java/util/AbstractMap.java, libraries/javalib/java/util/AbstractSequentialList.java, libraries/javalib/java/util/AbstractSet.java, libraries/javalib/java/util/ArrayList.java, libraries/javalib/java/util/Arrays.java, libraries/javalib/java/util/Collections.java, libraries/javalib/java/util/Dictionary.java, libraries/javalib/java/util/HashMap.java, libraries/javalib/java/util/HashSet.java, libraries/javalib/java/util/Hashtable.java, libraries/javalib/java/util/IdentityHashMap.java, libraries/javalib/java/util/LinkedHashMap.java, libraries/javalib/java/util/LinkedHashSet.java, libraries/javalib/java/util/LinkedList.java, libraries/javalib/java/util/TreeMap.java, libraries/javalib/java/util/TreeSet.java, libraries/javalib/java/util/Vector.java, libraries/javalib/java/util/WeakHashMap.java: Merged in part of the collection framework from GNU Classpath * libraries/javalib/java/util/LinkedListIterator.java: removed * libraries/javalib/Klasses.jar.bootstrap, libraries/javalib/Makefile.am, libraries/javalib/Makefile.in: regenerated * libraries/javalib/profiles/allatonce/all.files, libraries/javalib/profiles/default/core.files: added IdentityHashMap, LinkedHashMap and LinkedHashSet ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] CVS kaffe (guilhem): Classpath's IO/net subsystem merging + fixes.
On Sat, 30 Aug 2003 07:20:57 -0700 Kaffe CVS [EMAIL PROTECTED] wrote: PatchSet 3996 Date: 2003/08/30 14:18:17 Author: guilhem Branch: HEAD Tag: (none) Log: Classpath's IO/net subsystem merging + fixes. Nice work! That's going to help me out a lot. I compiled it 4 times, and I found some possible regressions (x86/Linux/defaults), all intermittent: * GCTest.java - I had 2 failures in 4 runs of make check * NetworkInterfaceTest.java - I had 1 failure in 4 runs of make check I also had one build abort with this while trying to build the class libraries with kjc: Internal error: caught an unexpected exception. Please check your CLASSPATH and your installation. java/lang/NullPointerException Again, this appears to be intermittent, so it might have been occurring before, and I just didn't catch it. One of my four make check runs passed all the tests. I also set up Mauve yesterday so I could catch regressions. These tests worked yesterday, but not with this checkin: * FAIL: gnu.testlet.java.io.DataInputStream.ReadReference2: Reading DataInputStream (2) (number 1) * FAIL: gnu.testlet.java.io.DataOutputStream.WriteRead2: Reading DataInputStream (2) (number 1) * gnu.testlet.java.util.zip.GZIPInputStream.basic hangs forever Please accept my apologies if they've been fixed in the next checkin. I didn't sync up to that yet. Cheers, - Jim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] CVS kaffe (guilhem): Classpath's IO/net subsystem merging+ fixes.
Jim Pick wrote: On Sat, 30 Aug 2003 07:20:57 -0700 Kaffe CVS [EMAIL PROTECTED] wrote: PatchSet 3996 Date: 2003/08/30 14:18:17 Author: guilhem Branch: HEAD Tag: (none) Log: Classpath's IO/net subsystem merging + fixes. Nice work! That's going to help me out a lot. I compiled it 4 times, and I found some possible regressions (x86/Linux/defaults), all intermittent: * GCTest.java - I had 2 failures in 4 runs of make check * NetworkInterfaceTest.java - I had 1 failure in 4 runs of make check Not happening here but I'll analyze the problem. I also had one build abort with this while trying to build the class libraries with kjc: Internal error: caught an unexpected exception. Please check your CLASSPATH and your installation. java/lang/NullPointerException Strangely enough I am not able to build library with KJC when I am using a build directory. But when I am building from the source tree it's fine. But concerning the NullPointerException I must have some more informations. There may still be some unaffected pointers because of the slight differences between kaffe and classpath. Again, this appears to be intermittent, so it might have been occurring before, and I just didn't catch it. One of my four make check runs passed all the tests. I also set up Mauve yesterday so I could catch regressions. These tests worked yesterday, but not with this checkin: * FAIL: gnu.testlet.java.io.DataInputStream.ReadReference2: Reading DataInputStream (2) (number 1) * FAIL: gnu.testlet.java.io.DataOutputStream.WriteRead2: Reading DataInputStream (2) (number 1) * gnu.testlet.java.util.zip.GZIPInputStream.basic hangs forever I didn't check mauve yet. I kept Kaffe's DataInputStream because the one from classpath had some more problems. The next step is to introduce classes one by one and fixes their bugs. Please accept my apologies if they've been fixed in the next checkin. I didn't sync up to that yet. No problem. Cheers, Guilhem. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (guilhem): Fix for compiling when building java library outside the source tree.
PatchSet 3998 Date: 2003/08/30 20:12:03 Author: guilhem Branch: HEAD Tag: (none) Log: Fix for compiling when building java library outside the source tree. Members: ChangeLog:1.1594-1.1595 libraries/javalib/rebuildLib.in:1.35-1.36 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.1594 kaffe/ChangeLog:1.1595 --- kaffe/ChangeLog:1.1594 Sat Aug 30 16:50:21 2003 +++ kaffe/ChangeLog Sat Aug 30 20:12:03 2003 @@ -1,5 +1,11 @@ 2003-08-30 Guilhem Lavaux [EMAIL PROTECTED] + * libraries/javalib/rebuildLib.in: Check if SRCDIR represents an + absolute path. If it is not the case concatenant a `pwd` just in front + of it. + +2003-08-30 Guilhem Lavaux [EMAIL PROTECTED] + * libraries/javalib/bootstrap.classlist: updated to be able to run KJC. Index: kaffe/libraries/javalib/rebuildLib.in diff -u kaffe/libraries/javalib/rebuildLib.in:1.35 kaffe/libraries/javalib/rebuildLib.in:1.36 --- kaffe/libraries/javalib/rebuildLib.in:1.35 Wed Jun 11 22:23:30 2003 +++ kaffe/libraries/javalib/rebuildLib.in Sat Aug 30 20:12:04 2003 @@ -25,6 +25,10 @@ LIBDIR=`CDPATH=: cd $LIBDIR pwd` VERBOSE= +if [ -z `echo $SRCDIR | egrep '^/.*'` ]; then + SRCDIR=`pwd`/$SRCDIR +fi + if [ -z $JIKES ] ; then if [ -z $JAVA ]; then test -f ${TOPBLD}/BUILD_ENVIRONMENT ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] CVS kaffe (guilhem): Classpath's IO/net subsystem merging + fixes.
On Sat, 30 Aug 2003 07:20:57 -0700 Kaffe CVS [EMAIL PROTECTED] wrote: PatchSet 3996 Date: 2003/08/30 14:18:17 Author: guilhem Branch: HEAD Tag: (none) Log: Classpath's IO/net subsystem merging + fixes. Nice work! That's going to help me out a lot. I compiled it 4 times, and I found some possible regressions (x86/Linux/defaults), all intermittent: * GCTest.java - I had 2 failures in 4 runs of make check * NetworkInterfaceTest.java - I had 1 failure in 4 runs of make check NetworkInterfaceTest, InetAddressTest, and InetSocketAddressTest fail for me... - Jim tim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (stack): Fix a compile error on FreeBSD
PatchSet 3999 Date: 2003/08/30 20:24:58 Author: stack Branch: HEAD Tag: (none) Log: Fix a compile error on FreeBSD Members: ChangeLog:1.1595-1.1596 libraries/clib/io/FileDescriptor.c:1.4-1.5 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.1595 kaffe/ChangeLog:1.1596 --- kaffe/ChangeLog:1.1595 Sat Aug 30 20:12:03 2003 +++ kaffe/ChangeLog Sat Aug 30 20:24:58 2003 @@ -1,3 +1,9 @@ +2003-08-30 Timothy S. Stack [EMAIL PROTECTED] + + * libraries/clib/io/FileDescriptor.c: + Use '#ifdef's around O_SYNC/O_DSYNC since they are not defined on + FreeBSD. + 2003-08-30 Guilhem Lavaux [EMAIL PROTECTED] * libraries/javalib/rebuildLib.in: Check if SRCDIR represents an Index: kaffe/libraries/clib/io/FileDescriptor.c diff -u kaffe/libraries/clib/io/FileDescriptor.c:1.4 kaffe/libraries/clib/io/FileDescriptor.c:1.5 --- kaffe/libraries/clib/io/FileDescriptor.c:1.4Sat Aug 30 14:18:24 2003 +++ kaffe/libraries/clib/io/FileDescriptor.cSat Aug 30 20:24:59 2003 @@ -84,11 +84,15 @@ else open_options |= O_TRUNC; } - + +#if defined(O_SYNC) if (mode JAVA_SYNC) open_options |= O_SYNC; +#endif +#if defined(O_DSYNC) if (mode JAVA_DSYNC) open_options |= O_DSYNC; +#endif // By default we put the files in all rw access. It will be modified by process umask. rc = KOPEN(str, open_options|O_BINARY, 0666, fd); ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] HP-UX ipv6 config fails
Hey, a quick reminder about the HP-UX problem. linking does fail on in6addr and similar references that get faked by dummyi6. To me it seems that config.log states everywhere that ipv6 stuff isn't found, but something with th #ifdefs is broken, commenting them out manually solved the problem, or a least changed it. -ric ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe