cat -v harmful stuff

Java’s finest hour…

The following gem that belongs into a Java programming best practices book was found in the source of Sun’s JDK.

public class StubFactoryFactoryProxyImpl extends StubFactoryFactoryDynamicBase
{
    public PresentationManager.StubFactory makeDynamicStubFactory(
        PresentationManager pm, PresentationManager.ClassData classData,
        ClassLoader classLoader )
    {
        return new StubFactoryProxyImpl( classData, classLoader ) ;
    }
}