This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
PR 8685 / JvCreateJavaVM
- From: steve <steve at netfuel dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 27 Jan 2003 15:44:24 -0600
- Subject: PR 8685 / JvCreateJavaVM
- Organization: Netfuel
Is there a work around for this.
I have already added the _Jv_ThisExecutable and it still crashes.
Thanks
Steve Pribyl
See PR 8685.
Right now a simple use of the CNI invocation API will cause a crash.
That's because _Jv_ThisExecutable(char*) isn't called by default.
One fix would be not to crash if `this executable' isn't set -- either
we could set it to a dummy value or we could just add conditions.
Another fix would be to add JvThisExecutable and require it to be
called.
Another would be to add a new argument to _Jv_CreateJavaVM.
Any preferences? Per, I thought you might prefer one approach over
another, since you wrote the CNI invocation API.