This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: enable gappletviewer, gjarsigner and gkeytool tools


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]