AOPTestDelegate delegate = (AOPTestDelegate)getDelegate();
Properties properties = delegate.getSystemProperties();
if(((String)properties.get("java.vm.version")).startsWith("1.5"))
{
try {
SuperPOJO superPojo = (SuperPOJO) ClassProxyFactory.newInstance(SubPOJO.class);
assertTrue("ClassProxy failed to instrument generic class", true);
}
catch(Exception e)
{
System.out.println("ERROR: "+e.getMessage());