RFA: enable gappletviewer, gjarsigner and gkeytool tools

Bryce McKinlay mckinlay@redhat.com
Thu Jul 6 00:39:00 GMT 2006


Tom Tromey wrote:
> Tom> To support the -J option to the tools, we'd still need a wrapper,
> Tom> it'd just be a CNI wrapper rather than a JNI wrapper.
>
> If -J is useful we arguably ought to support it in CNI wrappers.
> This could be done by adding a command line option to gcj which is
> passed down to jvgenmain and from there to the startup sequence.
>
> File a PR if you think this is worthwhile... I'm not so sure myself.
> I think I use GCJ_PROPERTIES in those rare instances where I want this.
>   

We could also, in this case, make a CNI toolwrapper.cc which invokes the 
runtime using JvCreateJavaVM().

I think its pretty questionable whether we want to add a gcj option, 
though. I don't think that hard-coding VM arguments into native binaries 
is something we would want to encourage.

Bryce



More information about the Java-patches mailing list