Differences between kaffe and amaya's kaffe

Jon Skeet (jls20@hermes.cam.ac.uk)
Fri, 15 Aug 1997 12:51:27 +0100 (BST)


Date: Fri, 15 Aug 1997 12:51:27 +0100 (BST)
From: Jon Skeet <jls20@hermes.cam.ac.uk>
To: Daniel Veillard <Daniel.Veillard@imag.fr>
cc: www-amaya-developers@w3.org
Subject: Differences between kaffe and amaya's kaffe
In-Reply-To: <199708141657.SAA10139@praslin.inrialpes.fr>
Message-ID: <Pine.SOL.3.95q.970815114433.14187B-100000@blue.csi.cam.ac.uk>

Sorry to pester again...

Background: Am trying to get some java code in a filter for Amaya to use
some native libraries.
Platform: Intel Linux box running RedHat distribution with 2.0.30 kernel,
          lesstif 0.80a

After some hackery, I've managed to persuade kaffe to use the native
libraries I need.

That's "kaffe", as in kaffe-0.9.1 downloaded and installed on my system.
I believed this was the same kaffe as was in Amaya, but they seem to react
radically differently to a test program. The basic problem, I'm sure, is
the System.load method. I'm calling this directly as I can't persuade
either kaffe or the kaffe in Amaya to find the file with
System.loadLibrary.

I'm pretty sure the call is virtually ignored under Amaya-kaffe... I'm
fully specifying the library file's location, so it can't be loading any
other versions (can it?) - and yet it doesn't complain if the specified
file isn't present (it does complain from genuine kaffe).

strace doesn't give any sign of even vaguely trying to load the library
under amaya-kaffe; under genuine kaffe all the appropriate system calls
show up in the expected place.

Is this a securityManager "feature"? Any ideas of how to get round it?

Thanks in advance again,

Jon Skeet