edburns%acm.org 0898232dc5 This fix was contributed by
*      Jason Mawdsley <jason@macadamian.com>
 *      Louis-Philippe Gagnon <louisphilippe@macadamian.com>

It enables webclient to be built and run under JDK1.1.x.  Note that JavaDOM
does not work under jdk1.1.x.

The fix consists of two elements:

On the Java side, replace all JDK1.2 specific calls with JDK1.1.x
equivalents.  On the native side use pre-processer macro for
JNI_VERSION, like this:

#ifdef JNI_VERSION_1_2

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_2
#endif

#else

#ifndef JNI_VERSION_1_1
#define JNI_VERSION_1_1 0x00010001
#endif

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_1
#endif

#endif // END: JNI_VERSION_1_2

This fix has been tested on win32, solaris, and linux.

The following files are in this fix:

M webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
M webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/nsActions.cpp
M webclient/src_share/jni_util.cpp
M webclient/src_share/jni_util.h
M webclient/src_share/jni_util_export.cpp


git-svn-id: svn://10.0.0.236/trunk@79490 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:18:18 +00:00
..
2000-08-03 21:32:54 +00:00
2000-08-17 19:52:15 +00:00
2000-09-12 16:33:45 +00:00
2000-05-25 23:51:51 +00:00
2000-08-03 21:32:54 +00:00
2000-08-11 21:58:56 +00:00
2000-08-10 21:38:52 +00:00
2000-08-11 21:58:56 +00:00
2000-06-30 00:01:58 +00:00
2000-08-03 21:32:54 +00:00
2000-08-17 19:52:15 +00:00
2000-08-17 19:52:15 +00:00
2000-09-19 00:18:18 +00:00
2000-08-11 21:58:56 +00:00
2000-04-20 18:16:05 +00:00
2000-08-15 22:09:05 +00:00
2000-04-20 18:16:05 +00:00
2000-08-03 21:32:54 +00:00
2000-08-03 21:32:54 +00:00
2000-07-26 20:07:11 +00:00
2000-08-03 21:32:54 +00:00
2000-08-03 21:32:54 +00:00