A data processing system, method, and computer program product are
disclosed for generating a generic compilation interface from a first
object-oriented software package. All public classes included in the
object-oriented software package are identified. For each of the public
classes, all public entities included in each of the public classes are
identified. All references to software defined in a second software
package are removed from the public entities. An equivalent public class
is then generated for each of the identified public classes. Each
equivalent public class includes equivalent public entities that include
no references to software defined in the second package. Each of the
equivalent public classes is compiled. A compilation interface is
generated for the object-oriented software package. The compilation
interface includes each of the compiled equivalent public classes.