From: Godmar Back (gback@marker.cs.utah.edu)
Date: Wed Dec 16 1998 - 02:17:13 EST
Some of the testcases I put it will succeed on JDK 1.1, but fail on 1.2,
for multiple reasons: for one, the JIT in 1.2 does very aggressive loading,
much more so than Kaffe. Secondly, Sun apparently changed their point of
view on when to throw NoClassDefFoundError vs. ClassNotFoundException
I had pointed out earlier that Sun's 1.1 behavior was somewhat
inconsistent here. I actually think it's more consistent in 1.2
In all likelyhood, this will allow us to get rid of the need to upgrade
some of the errors to exceptions, as we do now.
Which leads to a question on strategy: when should we switch Kaffe's
behavior to emulate that of 1.2? Right now, I'd say it may be too early,
since most of it is still 1.1, and so it should run 1.1 apps.
Back to these test cases: even though some will fail under 1.2, do not
ignore a failure under Kaffe. Many of them are carefully crafted to
catch specific bugs which we do not want to reintroduce.
Finally, some more good news:
+ I compiled after all these changes again on the NetBSD/ARM and it still
worked. In fact, jthreads seem to have fixed themselves since I did
the original port (which may be due to various race condition fixes
put in since then), so I made it the default. I noticed it already
is for Linux/ARM.
+ Ben Reed's complex classloader/web server application (a proprietary
IBM apps with which he let me play) runs now (well, minus
Socket.getLocalAddr).
+ Jason Baker is almost done with his revamp of the gcblock-mmap stuff.
The new version won't require mmap anymore, but will work with any of
sbrk,memalign,malloc while at the same time keeping the speedup due
to improved virtual memory and cache behavior. Once that's in and
tested, I suggest we make it the default.
- Godmar
kaffe/test/regression ExceptionTest.java ExceptionTestClassLoader.java ExceptionTestClassLoader2.java HashtableTest1.java TestScript
Tue Dec 15 22:56:57 PST 1998
Update of /home/cvspublic/kaffe/test/regression
In directory www.transvirtual.com:/tmp/cvs-serv29568/test/regression
Modified Files:
TestScript
Added Files:
ExceptionTest.java ExceptionTestClassLoader.java
ExceptionTestClassLoader2.java HashtableTest1.java
Log Message:
* moved findException*InMethod functions to exception.c and made them static.
* patched bug where classloaders were invoked recursively.
* new test cases.
* removed choice of unix-internal in config.frag for netbsd arm
----- End of forwarded message from Godmar Back -----
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:19 EDT