diff options
Diffstat (limited to 'tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java')
-rw-r--r-- | tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java b/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java index 335480840..b7ad7f440 100644 --- a/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java +++ b/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java @@ -140,7 +140,7 @@ public class SourceGiopRmicCompiler /** * Clear data, preparing for the next compilation. */ - public void reset() + public synchronized void reset() { packag = name = implName = stubName = null; implementedRemotes.clear(); @@ -329,7 +329,7 @@ public class SourceGiopRmicCompiler * the class to name * @return the name of class as it should appear in java language */ - public String name(Class nameIt) + public synchronized String name(Class nameIt) { if (nameIt.isArray()) { |