mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8136930: Simplify use of module-system options by custom launchers
8160489: Multiple -Xpatch lines ignored by javac 8156998: javac should support new option -XinheritRuntimeEnvironment Reviewed-by: jlahoda, ksrini
This commit is contained in:
parent
3b80559162
commit
978417c4c7
161 changed files with 2421 additions and 1050 deletions
|
@ -66,6 +66,16 @@ public class JavaTask extends AbstractTask<JavaTask> {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the VM options.
|
||||
* @param vmOptions the options
|
||||
* @return this task object
|
||||
*/
|
||||
public JavaTask vmOptions(List<String> vmOptions) {
|
||||
this.vmOptions = vmOptions;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the name of the class to be executed.
|
||||
* @param className the name of the class
|
||||
|
@ -86,6 +96,16 @@ public class JavaTask extends AbstractTask<JavaTask> {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the arguments for the class to be executed.
|
||||
* @param classArgs the arguments
|
||||
* @return this task object
|
||||
*/
|
||||
public JavaTask classArgs(List<String> classArgs) {
|
||||
this.classArgs = classArgs;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether or not the standard VM and java options for the test should be passed
|
||||
* to the new VM instance. If this method is not called, the default behavior is that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue