public inbox for
 help / color / mirror / Atom feed
* got JNI; but only just :-)
@ 2008-04-12 20:53 Andrew Cagney
  2008-04-12 21:01 ` Mark Wielaard
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2008-04-12 20:53 UTC (permalink / raw)
  To: frysk


I've just pushed changes to frysk's build system that add the ability to 
build JNI code vis:

- automatically generate required jni headers
- compile */jni/*.cxx files into a separate shared object

while at the same time continuing to build the existing CNI code.  By 
being able to build/run both side-by-side we'll hopefully help to ease 
the migration pain.

In the frysk-sys directory, I've also added stub C++ JNI functions (they 
just throw an exception) for all the required native methods.  You can 
invoke TestRunner, but using JNI and these stub-functions, with the 
script JniRunner vis:

$ ./JniRunner
Exception in thread "main" java.lang.RuntimeException: 
not implemented
        at frysk.config.Config.createBuildConfig(Native Method)
        at JniRunner.main(

(Did I mention that all the JNI functions were stubs and just threw 
exceptions? :-)

Next I'm going to work my way through frysk.config, frysk.rsl, and 

The lib/* libraries are an opportunity waiting to happen :-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-14 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-12 20:53 got JNI; but only just :-) Andrew Cagney
2008-04-12 21:01 ` Mark Wielaard
2008-04-14 13:26   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).