Proposal: make gcjh default to JNI mode

Andrew Haley aph@redhat.com
Thu Apr 28 06:45:00 GMT 2005


Thomas Fitzsimmons writes:
 > On Wed, 2005年04月27日 at 22:26 -0400, Thomas Fitzsimmons wrote:
 > > Hi,
 > > 
 > > Currently gcjh defaults to emitting CNI headers. I propose we change it
 > > to emit JNI headers by default. That way gcjh will become command-line
 > > compatible with javah. This would allow me to remove the javah wrapper
 > > script from java-gcj-compat and instead symlink javah directly to gcjh.
 > 
 > I should have mentioned; I'm proposing this change for mainline (4.1),
 > not 4.0.x.
I think this is an awful idea. CNI is our preferred route and offers
many advantages. To change gcjh to emitting JNI headers by default
would send out an inapporpriate message. If you would like gcjh to
look at its argv[0] and do something different when invoked as javah I
wouldn't object.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /