summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/rmi/rmic/Compiler.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/rmi/rmic/Compiler.java')
-rw-r--r--libjava/gnu/java/rmi/rmic/Compiler.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/libjava/gnu/java/rmi/rmic/Compiler.java b/libjava/gnu/java/rmi/rmic/Compiler.java
index d6038043d91..fc1f8464fa6 100644
--- a/libjava/gnu/java/rmi/rmic/Compiler.java
+++ b/libjava/gnu/java/rmi/rmic/Compiler.java
@@ -82,12 +82,27 @@ public abstract class Compiler
this.dest = dest;
}
+ /** Get the classpath for compilation. */
+ public String getClasspath ()
+ {
+ return classpath;
+ }
+
+ /** Set the classpath for compilation. */
+ public void setClasspath (String classpath)
+ {
+ this.classpath = classpath;
+ }
+
/** Compile the given file. Throws exception on error. */
public abstract void compile (String name) throws Exception;
/** The destination directory, or null if none set. */
protected String dest;
+ /** The classpath directory, or null if none set. */
+ private String classpath;
+
/** Class prefix used when trying to find instance. */
private static final String classPrefix = "gnu.java.rmi.rmic.Compile_";
}