summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/rmi/rmic/Compiler.java
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-05 09:53:08 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-05 09:53:08 +0000
commit15aceac4884a641c8dc6f32f2fcc0ddca0b6ebbc (patch)
tree1fb2f0f405b16b7bd558d6735496d8532b5b84d1 /libjava/gnu/java/rmi/rmic/Compiler.java
parent25bf4cabd21a584abe8a88230cb67fe57db6bae4 (diff)
downloadppe42-gcc-15aceac4884a641c8dc6f32f2fcc0ddca0b6ebbc.tar.gz
ppe42-gcc-15aceac4884a641c8dc6f32f2fcc0ddca0b6ebbc.zip
2006-04-05 Archit Shah <ashah@redhat.com>
PR java/25414 * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments): Add classpath argument. * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust caller. * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise. * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise. * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New. * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call mkdirs for destination directory, correct handling of superclasses and interfaces of the remote class, correct handling of exceptions declared by remote methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112699 138bc75d-0d04-0410-961f-82ee72b054a4
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_";
}
OpenPOWER on IntegriCloud