public interface ImageBuildTask
NativeImageBuildServer
).Modifier and Type | Method and Description |
---|---|
int |
build(String[] args,
String[] classpath,
NativeImageClassLoader compilationClassLoader)
Main function for remote image building which is invoked on every image building request sent
to the server.
|
void |
interruptBuild()
Requests interruption of the image build.
|
int build(String[] args, String[] classpath, NativeImageClassLoader compilationClassLoader)
build
finishes, the static state of the JDK
and NativeImageBuildServer
must not have pointers to classes loaded by
compilationClassLoader
.args
- arguments passed with the request to the SVM image builderclasspath
- the whole classpath used for the imagecompilationClassLoader
- the classloader used for this image building taskNativeImageBuildServer
void interruptBuild()