[1313] in java-interest
Re: native methods under NT alpha 3
daemon@ATHENA.MIT.EDU (Andrew Wason)
Tue Aug 29 18:25:16 1995
To: java-interest@java.sun.com
In-Reply-To: Message from randoid@spacetime.com (Randal Walser)
of "Sun, 27 Aug 95 23:36:02 -0700." <199508280636.XAA21356@miwok.nbn.com>
Date: Tue, 29 Aug 95 15:21:31 -0400
From: Andrew Wason <aw@bae.bellcore.com>
randoid@spacetime.com (Randal Walser) writes:
> I'm trying to write some native methods, but it seems the requisite
> header files (included by StubPreamble.h) depend on at least a couple
> machine dependent headers; namely "oobj_md.h" and "typedefs_md.h".
>
> Any chance I can get copies of those, and anything else that's
> necessary to make native methods work?
You can get oobj_md.h and typedefs_md.h from hotjava\include\win32
in the Alpha-2 NT release.
You can get typecodes.h, native.h and tree.h from hotjava/include
in the Solaris Alpha-3 release.
You'll need to generate java_lang_String.h yourself with
"javah java.lang.String".
> BTW, why doesn't Sun release the Java NT alpha 3 source? Sure would
> make things a lot easier.
Maybe it's all a part of Javas security mechanism - native
methods are insecure, so making them difficult to implement by
omitting header files, not releasing source etc. increases
security :-)
Andrew
_______________________________________________________________________________
Andrew Wason Bell Communications Research
aw@bae.bellcore.com Piscataway, NJ
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com