[ http://issues.apache.org/jira/browse/HARMONY-857?page=all ]
Andrey Chernyshev updated HARMONY-857:
--------------------------------------
Attachment: launcher-patch.patch
Experimental patch, v.1.0
> Quick impl for invocation API - make drlvm work with classlib launcher
> ----------------------------------------------------------------------
>
> Key: HARMONY-857
> URL: http://issues.apache.org/jira/browse/HARMONY-857
> Project: Harmony
> Type: Improvement
> Components: VM
> Reporter: Andrey Chernyshev
> Attachments: launcher-patch.patch
>
> Here will be the patch that makes drlvm working under classlib's launcher.
> A brief description of what was done:
> (1) I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate
place for it);
> (2) Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the
existing create_vm and detroy_vm functions in the vmcore/init submodule.
> (3) To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h
to vmcore/include;
> (4) In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib"
which is passed by the launcher to VM for some reason, causing the DRLVM to complain about
"unknown option".
> Please do not apply unless it is discussed on the mailing list, there likely to be other
versions of this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|