mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Updated README with extra caveats; TODO marks stable compilation as "done".
This commit is contained in:
parent
41a0de11a3
commit
81d9b36975
@ -5,7 +5,7 @@ This directory contains the beginnings of the Java Bridge to XPCOM.
|
||||
For now it is disconnected from the main Mozilla build, because as yet
|
||||
it is good for no more than a few demo and test programs, and because
|
||||
Java compilation on Unix and Linux doesn't work quite right (as of
|
||||
Aug 10, 1999).
|
||||
Aug 13, 1999).
|
||||
|
||||
The source is divided into four directories
|
||||
|
||||
@ -127,7 +127,7 @@ XPCTest.main()
|
||||
|
||||
Sample invocation:
|
||||
|
||||
java XPCTest AddTwoInts -i 1 -i 1 -r
|
||||
java -native XPCTest AddTwoInts -i 1 -i 1 -r
|
||||
|
||||
Output:
|
||||
|
||||
@ -136,3 +136,16 @@ XPCTest.main()
|
||||
Getting InterfaceInfoManager
|
||||
Command: AddTwoInts, arguments: [1, 1, null]
|
||||
Results: [1, 1, 2]
|
||||
|
||||
Notes:
|
||||
|
||||
1. You must run native threads; Mozilla loads the native
|
||||
thread library, and the JVM will panic if it has to
|
||||
load both native and green threads.
|
||||
|
||||
2. Because of the way the JDK links shared libraries,
|
||||
you must have a valid mozilla/dist/bin/component.reg;
|
||||
otherwise, XPCOM will not bootstrap correctly.
|
||||
Note that "apprunner" and "xptest" will create one.
|
||||
Future versions will fix this limitation.
|
||||
|
||||
|
@ -9,6 +9,7 @@ Configuration
|
||||
-- *GET XPCTest WORKING*. For some reason, the JDK 1.2 JVM on Solaris
|
||||
won't load libxpcom.so correctly, even if it's on LD_LIBRARY_PATH. I
|
||||
have yet to confirm whether this is a problem on Linux or NT.
|
||||
[Done 13 Aug 1999]
|
||||
|
||||
-- Make Java compilation work correctly on Unix/Linux.
|
||||
|
||||
@ -24,7 +25,7 @@ have yet to confirm whether this is a problem on Linux or NT.
|
||||
Registration and Activation
|
||||
---------------------------
|
||||
|
||||
-- Insure JNI libraries load an unload, even within JNI plugin
|
||||
-- Insure JNI libraries load and unload, even within JNI plugin
|
||||
|
||||
-- Derive proxy class from IID, and vice-versa
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user