This is the mail archive of the java@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]

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


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