A Java remote interface has methods save, Save and SAVE. These names are distinct in Java™, but - because IDL names are not case sensitive - IDL cannot distinguish between them. Therefore, the names are mangled to make them distinct. The mangled names are save_, Save_0 and SAVE_0_1_2_3. However, if the Java remote interface had just one method - save - the name would not be mangled, because there is no possibility of ambiguity.
Other cases where mangling is necessary are handled differently. For detailed information about the mapping between Java and IDL, see Java Language to IDL Mapping, which is published by the Object Management Group (OMG) (http://www.omg.org).