This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
initialization (again)
- From: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- To: java at gcc dot gnu dot org
- Date: 08 Feb 2002 04:31:47 +0000
- Subject: initialization (again)
A while ago we had a discussion about gij argument parsing.
I was saying that I'd written a non-getopt arg parser that could
possibly be used to make a sun-java-tool compliant gij.
The discussion branched off into how gij should initialize the
vm. I'm seeking clarification of that discussion so that I can get on
with the new version of gij.
The current version calls Jv_RunMain with the class to run (the main
class) and a half mangled argv.
Some of you were saying that gij shouldn't invoke the VM this way,
but instead should call the new-ish _Jv_CreateJavaVM.
Here are my questions:
- should there be a Jv_CreateJavaVM which calls _Jv_CreateJavaVM ?
- if gij were to call _Jv_CreateJavaVM how would it pass the argv to
it?
- should Jv_CreateJavaVM have arguments for recieving the argv?
Thanks.
Nic