static Class hotwire_finish(ClassLoader classLoader, S progID, S javaSource) { ret hotwire_finish(classLoader, progID, javaSource, "main"); } static Class hotwire_finish(ClassLoader classLoader, S progID, S javaSource, S mainClass) ctex { // load & return main class Class<?> theClass = classLoader.loadClass(mainClass); Class j = getJavaX(); setOpt(theClass, "myJavaSource_code", javaSource); synchronized(j) { // hopefully this goes well... call(j, "setVars", theClass, progID); callOpt(j, "addInstance", progID, theClass); } hotwire_copyOver(theClass); vmBus_send hotwireFinished(theClass, mc()); ret theClass; }
download show line numbers debug dex old transpilations
Travelled to 19 computer(s): afbdgwpgxusd, aoiabmzegqzx, bhatertpkbcr, bvmoasoxxqgd, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, soykzrexxpfe, tslmcundralx, tvejysmllsmz, vouqrxazstgt, vpdwwinrgdga, xeobevbjagfg
No comments. add comment
| Snippet ID: | #1010561 |
| Snippet name: | hotwire_finish |
| Eternal ID of this version: | #1010561/6 |
| Text MD5: | 0c360eb66cfb3563aa0d08ede46fdd7d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-09-27 19:20:40 |
| Source code size: | 676 bytes / 21 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 788 / 1093 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |