Interesting results...
Dalibor Topic
kaffe@rufus.w3.org
Thu, 21 Mar 2002 12:52:08 +0100
--------------Boundary-00=_WMNB6KHQ31IPSV4S7XWP
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
On Thursday 21 March 2002 07:28, Mason Loring Bliss wrote:
> On Thu, Mar 21, 2002 at 04:42:13AM +0100, Dalibor Topic wrote:
> > Try to rebuild Klasses.jar using jikes 1.13
>
> I've built Jikes 1.13 and set JIKES =3D jikes in rebuildLib and Makefil=
e,
> and this is what I see:
> Issued 1 semantic warning compiling "java/awt/Toolkit.java":
>
> 504. native static synchronized void imgProduceImage(
> ImageNativeProducer prod, Ptr imgData); <-----------------> *** Warning=
:
> The type "ImageNativeProducer" is defined in the file "Image.java" but
> referenced in the file "java/awt/Toolkit.java". It is recommended that =
it
> be redefined in "ImageNativeProducer.java".
That's just jikes complaining about a hack in AWT library code. The code=20
should work nevertheless.
I haven't tried the latest jikes from CVS yet, I'll do it today.
Compilers that work for me:
* jikes 1.14
* kjc 1.5b (has other serious bugs, though).
* javac 1.3.1
Compilers that don't work for me:
* javac 1.4.0 : make check fails almost all tests since the warning about=
=20
changed class file format version is not expected by the tests :) May wor=
k,=20
but will generate lot of "assert is a keyword now" warnings during=20
compilation.
* kjc 2.1A : miscompiles CatchDeath (and a few other tests), so that it f=
ails=20
to verify on JDK. since kaffe's verifier doesn't recognize the error, kaf=
fe=20
proceeds and does weird things.
* gcj 3.0.4 : fails to compile Klasses.jar due to a bug in gcj.
* javac 1.1.8 : fails to compile Klasses.jar due to bugs in javac.
C-Compilers:
I use gcc 2.95.3. My experience with gcc 3.0.4 was mixed : kaffe compiles=
, but=20
I get more failed tests. I didn't have time to investigate.
Failing tests:
Some tests have really tight watchdog timer settings. They will fail if y=
ou=20
are using a six year old computer, running KDE 3 alongside, and running k=
affe in=20
interpreter mode, like I do right now :). I've attached a patch that exte=
nds the=20
timer on watchdogs that used to fail for me.
Finally, each failing test has a testclass.out and testclass.fail file wi=
th=20
the expected output and the output of the failed attempt. Inspecting thos=
e=20
files might provide more insight at what exactly is failing.
hope this helps
dalibor topic
--------------Boundary-00=_WMNB6KHQ31IPSV4S7XWP
Content-Type: text/plain;
charset="iso-8859-1";
name="ChangeLog"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ChangeLog"
* test/regression/CLTestJLock.java,
test/regression/ProcessClassInst.java,
test/regression/TestUnlock.java: increased watchdog time
limits. Old, slow processors under load had a hard time passing
these tests.
--------------Boundary-00=_WMNB6KHQ31IPSV4S7XWP
Content-Type: text/x-diff;
charset="iso-8859-1";
name="regression_test_timing.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="regression_test_timing.patch"
diff -u kaffe/test/regression/CLTestJLock.java patched-kaffe/test/regression/CLTestJLock.java
--- kaffe/test/regression/CLTestJLock.java Fri Oct 15 05:55:53 1999
+++ patched-kaffe/test/regression/CLTestJLock.java Wed Mar 20 16:17:50 2002
@@ -64,7 +64,7 @@
new Thread() {
public void run() {
try {
- Thread.sleep(2000);
+ Thread.sleep(9000);
} catch (InterruptedException e) { }
System.out.println("Time Out. Failure.");
System.exit(-1);
diff -u kaffe/test/regression/ProcessClassInst.java patched-kaffe/test/regression/ProcessClassInst.java
--- kaffe/test/regression/ProcessClassInst.java Fri Feb 12 14:51:09 1999
+++ patched-kaffe/test/regression/ProcessClassInst.java Wed Mar 20 15:31:41 2002
@@ -27,11 +27,11 @@
static Vector v = new Vector();
public static void main(String av[]) throws Exception {
- // a watchdog thread that kills us off after 3 sec
+ // a watchdog thread that kills us off after 9 sec
new Thread() {
public void run() {
try {
- Thread.sleep(3000);
+ Thread.sleep(9000);
System.out.println("sorry, you timed out");
System.exit(-1);
} catch (Exception e) {
diff -u kaffe/test/regression/TestUnlock.java patched-kaffe/test/regression/TestUnlock.java
--- kaffe/test/regression/TestUnlock.java Fri Feb 12 14:51:11 1999
+++ patched-kaffe/test/regression/TestUnlock.java Wed Mar 20 16:54:07 2002
@@ -20,7 +20,7 @@
new Thread() {
public void run() {
try {
- Thread.sleep(2000);
+ Thread.sleep(9000);
} catch (Exception _) { }
System.out.println("Time out. Failure.");
System.exit(-1);
--------------Boundary-00=_WMNB6KHQ31IPSV4S7XWP--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com