Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
	* Makefile.am (rmi_java_source_files): Added new files.
	* gnu/java/rmi/rmic/RMIC.java (compile): Uncommented; fixed to use
	new Compiler class.
	* gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Updated.
	* gnu/java/rmi/rmic/Compile_gcj.java: New file.
	* gnu/java/rmi/rmic/CompilerProcess.java: New file.
	* gnu/java/rmi/rmic/Compiler.java: New file.

From-SVN: r46235
This commit is contained in:
Tom Tromey
2001-10-12 22:04:07 +00:00
committed by Tom Tromey
parent 44a4ca5e4f
commit 42273f3225
7 changed files with 213 additions and 12 deletions
+7 -12
View File
@@ -1,5 +1,5 @@
/*
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Copyright (c) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,7 +38,6 @@ import java.util.Iterator;
import java.util.Arrays;
import java.lang.Comparable;
import gnu.java.rmi.server.RMIHashes;
// import kaffe.tools.compiler.Compiler;
public class RMIC {
@@ -839,16 +838,12 @@ private void generateSkel() throws IOException {
}
private void compile(String name) throws Exception {
throw new Error ("Not implemented");
// Compiler comp = Compiler.getInstance();
// if (verbose) {
// System.out.println("[Compiling class " + name + "]");
// }
// comp.setDestination(destination);
// boolean result = comp.compile(name);
// if (result == false) {
// throw comp.getException();
// }
Compiler comp = Compiler.getInstance();
if (verbose) {
System.out.println("[Compiling class " + name + "]");
}
comp.setDestination(destination);
comp.compile(name);
}
private static String getPrettyName(Class cls) {