javaSourceCode.append("}\n");
compilationUnit.addJavaSource(pname+".Foo", javaSourceCode.toString());
loader.clearCache();
javaSourceCompiler.compile(compilationUnit);
javaSourceCompiler.persistCompiledClasses(compilationUnit);
Class<?> fooClass = loader.loadClass(pname+".Foo");
Method mth = fooClass.getDeclaredMethod("beakerRun", (Class[]) null);
Object o = mth.invoke(null, (Object[])null);
if(ret.equals("Object")) {