diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-12 22:04:07 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-12 22:04:07 +0000 |
| commit | 14d19d6dc1f03f3fedd77a7a881802066d6106e3 (patch) | |
| tree | aa03ee1a96070709bdc7a9676c1a4596a6823405 /libjava/gnu/java/rmi/rmic/RMIC.java | |
| parent | 96fadabbe5169246ab6e3328ff47128a24666431 (diff) | |
| download | gcc-14d19d6dc1f03f3fedd77a7a881802066d6106e3.tar.gz | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46235 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/rmi/rmic/RMIC.java')
| -rw-r--r-- | libjava/gnu/java/rmi/rmic/RMIC.java | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/libjava/gnu/java/rmi/rmic/RMIC.java b/libjava/gnu/java/rmi/rmic/RMIC.java index 84681e24bca..591d522421d 100644 --- a/libjava/gnu/java/rmi/rmic/RMIC.java +++ b/libjava/gnu/java/rmi/rmic/RMIC.java @@ -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) { |
