Re: [Openjnlp-devel] ClassLoader, Native Methods, and Java 1.1
Brought to you by:
kherr
From: Doug Z. <dz...@ho...> - 2001-11-21 07:35:07
|
At 2:04 PM -0700 11/20/01, Kevin Herrboldt wrote: >The inner workings of handling native libraries is a bit involved, >especially for Java 1.1 platforms. Java2 class loaders can implement >ClassLoader.findLibrary() to return an appropriate location for the >nativelib, but this is not the case with Java 1.1. Trying to get >nativelib stuff working in OpenJNLP for both Java2 and Java 1.1 are high >on the list, but is it worth holding up the next release? I could go >either way since more and more people want nativelib support, but it's >difficult to test. I guess I wasn't very clear. I'm looking for suggestions on how I can hack the 0.4 class loader to handle native methods, not asking your team to shuffle the schedule and move it up. I feel bad enough dragging you away to answer these questions! >> pointers to documentation on the inner workings of a ClassLoader. > >A description of how native stuff works for Java 1.1 is at ><http://java.sun.com/docs/books/tutorial/native1.1/index.html>. Am I missing something? I thought that page was just the basics of JNI, I could find nothing there on how the native code actually gets loaded. If you have a link to a page on that subject, I would appreciate your sharing it. -DCZ |