Warning: session_start(): open(/var/lib/php/sessions/sess_jrmuvul6ec1ihimpog0ibjof36, 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
static O hotwire_onCompile; // voidfunc(Pair)
sbool hotwire_serially;
static Lock hotwire_overInternalBot_lock = lock();
sbool hotwire_compileOnServer;
static Class> hotwire_overInternalBot(S progID) {
ret hotwire_overInternalBot(progID, "main");
}
static Class> hotwire_overInternalBot(S progID, S mainClass) ctex {
Pair p = hotwire_compile(progID);
File jar = p.a;
assertTrue(jar.getAbsolutePath(), jar.isFile());
L files = hotwire_collectJars(jar);
// make class loader
JavaXClassLoader classLoader = hotwire_makeClassLoader(files);
classLoader.progID = progID;
ret hotwire_finish(classLoader, progID, p.b, mainClass);
}
static Pair hotwire_compile(S progID) {
Pair p = hotwire_compileOnServer && !isLocalSnippetID(progID)
? compileSnippetThroughServer(progID)
: CompilerBot.compileSnippet2(progID);
lock hotwire_serially ? hotwire_overInternalBot_lock : null;
callF(hotwire_onCompile, p);
ret p;
}