Download Jar. Libraryless. Click here for Pure Java version (4676L/32K).
1 | !7 |
2 | |
3 | p {
|
4 | markLibsSticky(ll(#1013041)); |
5 | Class c = run(#1003436); |
6 | sleepSeconds(5); |
7 | cleanUp(c); |
8 | run(#1003436); |
9 | } |
10 | |
11 | static Set<S> markLibsSticky_list = synchroSet(); |
12 | |
13 | svoid markLibsSticky(L<S> libs) {
|
14 | markLibsSticky_list.addAll(formatSnippetIDs(libs)); |
15 | } |
16 | |
17 | sbool isStickyLibrary(S libID) {
|
18 | ret markLibsSticky_list.contains(fsI(libID)); |
19 | } |
20 | |
21 | set flag hotwire_here. |
22 | |
23 | static JavaXClassLoader hotwire_makeClassLoader(L<File> files) {
|
24 | new L<File> files2; |
25 | for (File f : files) {
|
26 | S libID = DiskSnippetCache_fileToLibID(f); |
27 | if (libID != null && isStickyLibrary(libID)) {
|
28 | addLibrary(libID); |
29 | print("Retaining sticky library " + libID);
|
30 | } else |
31 | files2.add(f); |
32 | } |
33 | |
34 | ret new JavaXClassLoaderWithParent(null, files2, myClassLoader()); |
35 | } |
Began life as a copy of #1016210
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016211 |
| Snippet name: | Sticky Libraries Fix Spike [OK!!] |
| Eternal ID of this version: | #1016211/6 |
| Text MD5: | 99afbd7e22ca13e333b4718349b40119 |
| Transpilation MD5: | f44f0b3633913aed520cb1af4b202824 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-10 19:47:20 |
| Source code size: | 796 bytes / 35 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 838 / 1870 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |