public class JavaMainWrapper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JavaMainWrapper.JavaMainSupport |
Modifier and Type | Field and Description |
---|---|
static CGlobalData<CEntryPointCreateIsolateParameters> |
MAIN_ISOLATE_PARAMETERS |
Constructor and Description |
---|
JavaMainWrapper() |
Modifier and Type | Method and Description |
---|---|
static String |
getCRuntimeArgument0() |
static int |
getCRuntimeArgumentBlockLength()
Argv is an array of C strings (i.e.
|
static int |
run(int argc,
org.graalvm.nativeimage.c.type.CCharPointerPointer argv) |
static int |
runCore()
Used by JavaMainWrapper and any user supplied main entry point (from
Feature.AfterRegistrationAccess ). |
static boolean |
setCRuntimeArgument0(String arg0) |
public static final CGlobalData<CEntryPointCreateIsolateParameters> MAIN_ISOLATE_PARAMETERS
public static int runCore()
Feature.AfterRegistrationAccess
).public static int run(int argc, org.graalvm.nativeimage.c.type.CCharPointerPointer argv)
public static int getCRuntimeArgumentBlockLength()
<argument_0>\n<argument_1>\n...<argument_n>\n <env_key_value_1>\n<env_key_value_2>\n...<env_key_value_n>\n
public static boolean setCRuntimeArgument0(String arg0)
public static String getCRuntimeArgument0()