Libraryless. Click here for Pure Java version (6142L/36K).
static Class hotwireCoreSpecialMainClass(S mainClassName, L<File> files) ctex { // make class loader JavaXClassLoader classLoader = hotwire_makeClassLoader(files); // load & return main class Class<?> theClass = classLoader.loadClass(mainClassName); setOpt(theClass, "__javax", getJavaX()); if (getOpt(theClass, "programID") == null) setOpt(theClass, "programID", "#3999999"); if (!_inCore()) hotwire_copyOver(theClass); ret theClass; }
Began life as a copy of #1003841
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034060 |
Snippet name: | hotwireCoreSpecialMainClass - direct hotwire from .jar/classes dir |
Eternal ID of this version: | #1034060/1 |
Text MD5: | 2b4948cde78d611036cb76872eac93c6 |
Transpilation MD5: | fe6a725cfd2dfffbe5b9a18e8c04233f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-19 23:30:57 |
Source code size: | 485 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 125 / 179 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |