java.sql.Date#setTime(long)
This methode does not exist in classpath but does in J2SE1.4 http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Date.html#setTime(long) ... and is not deprecated. Also, Is it normal that the deprecated methode of this class throw an IllegalArgumentException? -- Arnaud Vandyck, STE fi, ULg Formateur Cellule Programmation. ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Small vm/reference Thread.join() hack
Hi, Although I think we should move quickly to the new Thread/VMThread setup I needed Thread.join(long) to work reliably on kissme. So I made the following quick hack that work for me. * vm/reference/java/lang/Thread.java (join(long)): Call sleep(10), not sleep(1). Explicitly check elapsed time. Without this, one of the new mauve tests hangs forever. And Thread.join() was very resource intensive since it was continuously sleeping 1 milisecond. Cheers, Mark Index: ChangeLog === RCS file: /cvsroot/classpath/classpath/ChangeLog,v retrieving revision 1.1408 diff -u -r1.1408 ChangeLog --- ChangeLog 24 Aug 2003 18:10:55 - 1.1408 +++ ChangeLog 25 Aug 2003 21:31:57 - @@ -1,3 +1,8 @@ +2003-08-25 Mark Wielaard [EMAIL PROTECTED] + + * vm/reference/java/lang/Thread.java (join(long)): Call sleep(10), + not sleep(1). Explicitly check elapsed time. + 2003-08-24 Mark Wielaard [EMAIL PROTECTED] * configure.in (AC_INIT): Use four argument version. Index: vm/reference/java/lang/Thread.java === RCS file: /cvsroot/classpath/classpath/vm/reference/java/lang/Thread.java,v retrieving revision 1.27 diff -u -r1.27 Thread.java --- vm/reference/java/lang/Thread.java 9 Aug 2003 18:30:18 - 1.27 +++ vm/reference/java/lang/Thread.java 25 Aug 2003 21:31:58 - @@ -1,5 +1,5 @@ /* Thread -- an independent thread of executable code - Copyright (C) 1998, 2001, 2002 Free Software Foundation + Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation This file is part of GNU Classpath. @@ -688,16 +688,19 @@ Thread current = currentThread(); if (ms == 0 ns == 0) while (isAlive()) -current.sleep(1); +current.sleep(10); else { -while (--ms = 0) + long startTime = System.currentTimeMillis(); + long currentTime = startTime; + do { if (! isAlive()) return; -current.sleep(1); + current.sleep(10); + currentTime = System.currentTimeMillis(); } -current.sleep(0, ns); +while (Math.abs(startTime - currentTime) ms); } } ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
kissme 0.0.31 released
Hello everyone I have released version 0.0.31 of the kissme Java Virtual Machine: http://prdownloads.sourceforge.net/kissme/kissme-0.0.31.tar.gz?download This release is intended to match the release of 0.06 of Classpath. The mauve results are quite impressive for this combination, there are about 70 failures out of several thousand tests. Thanks to Stephen Crawley and others who have been working on kissme for the last few months. I have also uploaded .deb packages of classpath 0.06 and kissme 0.0.31 to the debian archive. -- John Leuner [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
RE: GNU Classpath 0.06 created
Hi, Does ORP 1.10 work with this new release? After browsing through the mailing list archives, I cannot find why ORP is broken with the classpath. I really like to do some experiments on some server benchmarks like tomcat/jboss and jbb by using ORP+classpath, and I believe the latest classpath support these benchmarks arleady. Qiong On Sat, 2003-08-23 at 18:07, Per Bothner wrote: You don't put releases on alpha.gnu.org - you put them on ftp.gnu.org. You can put pre-releases on alpha.gnu.org, but if you already have a release there seems little point. My thinking was that the 0.0x releases are actually the pre-releases while we work towards the first real GNU Classpath 1.0 release. People can combine these pre-releases with their own VMs like gcj, kissme, jikesRVM, Jaos, etc already do. But as long as we don't have at least a minimum of functionality to offer (we are hoping that 1.0 will have the equivalent functionality as core libraries that come with some proprietary 1.1 JDKs) and a stable/maintainable VM interface we cannot call it a real release. We do hope that people try these pre-releases out to create compilers and/or VM environments so they can give us feedback what should be improved for the real 1.0 release. (And I also don't have access to ftp.gnu.org) Cheers, Mark ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: [Classpath] Towards GNU Classpath 0.07 and 1.0
On Sun, 24 Aug 2003, Mark Wielaard wrote: - Up to date documentation that at a minimum provides a reference like overview of what we have and what each class/method does. And clearly describes what is work in progress/non-functional stubs. (gjdoc really helps here. And our api doc isn't that bad. We really need to write some package.html overview pages for the packages that we feel agree really useful though. We also might need to hack a bit on gjdoc to make do everything we want - like including pictures.) You might want to look into sinjdoc http://cscott.net/Projects/GJ/#sinjdoc as an alternative to gjdoc, especially if you are planning on following the java 1.5 language changes. sinjdoc is GPL'ed and supports all the Java 1.5 syntax. It also includes a 'real' parser, for what it's worth. The API is close but not identical to the javadoc api, although the command-line options are identical to javadoc's. --scott [i tried to compare sinjdoc's output to gjdoc's, but the API docs linked to by http://www.gnu.org/software/classpath/docs/ are missing. ftp://alpha.gnu.org/gnu/classpath/ is missing as well, but I assume y'all already knew that.] Iraq Khaddafi Rijndael Dictionary Castro Echelon Cheney East Timor IDEA atomic Moscow operation Waco, Texas Delta Force Marxist BATF ( http://cscott.net/ ) ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath