Warning: session_start(): open(/var/lib/php/sessions/sess_adl0gu2u8jmj4tu55sq4fhmua7, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
// We are trying to add classes directly in to the module's class loader
// without any sub-class loaders
cprint {
start-thread {
ClassLoader cl = getClassLoader(module());
print("My class loader: " + cl);
print("Class loader type: " + className(cl));
Map parents = cast getOpt parentMap(cl);
print("Parents: " + parents);
hotwireTest();
}
void hotwireTest {
S name = aGlobalID();
print("Class name: " + name);
S mcName = "main_" + name;
S src = "mainClassName " + mcName + "\n"
+ "class " + name + " { S name() { ret " + quote("I am " + name) + "; } }";
print(src);
// taken from veryQuickJava3
new LS libs;
src = transpileRaw(src); // transpiled, with lib references
// taken from veryQuickJava_finish
src = findTranslators2(src, libs);
S dehlibs = join(" ", libs);
File bytecode = javaCompile_overInternalBot(src, dehlibs);
print(+bytecode);
print("Files: " + listZip(bytecode));
//print("Name: " + call(o, "name"));
}
}