Class XNewRmic
java.lang.Object
org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter
org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic
org.apache.tools.ant.taskdefs.rmic.XNewRmic
- All Implemented Interfaces:
RmicAdapter
Run rmic in a new process with -Xnew set.
This switches rmic to use a new compiler, one that doesn't work in-process
on ant on java1.6.
see:
https://issues.apache.org/bugzilla/show_bug.cgi?id=38732
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
the name of this adapter for users to selectFields inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter
RMI_SKEL_SUFFIX, RMI_STUB_SUFFIX, RMI_TIE_SUFFIX, STUB_1_1, STUB_1_2, STUB_COMPAT, STUB_OPTION_1_1, STUB_OPTION_1_2, STUB_OPTION_COMPAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Commandline
Create a normal command line, then with -Xnew at the frontMethods inherited from class org.apache.tools.ant.taskdefs.rmic.ForkingSunRmic
areIiopAndIdlSupported, execute, getExecutableName
Methods inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter
addStubVersionOptions, filterJvmCompilerArgs, getClasspath, getCompileClasspath, getMapper, getRmic, getSkelClassSuffix, getStubClassSuffix, getTieClassSuffix, logAndAddFilesToCompile, preprocessCompilerArgs, setRmic, setupRmicCommand
-
Field Details
-
COMPILER_NAME
-
-
Constructor Details
-
XNewRmic
public XNewRmic()
-
-
Method Details
-
setupRmicCommand
Create a normal command line, then with -Xnew at the front- Overrides:
setupRmicCommand
in classDefaultRmicAdapter
- Returns:
- a command line that hands off to thw
-