Transpiled version (1646L) is out of date.
!7 sclass A {} sclass B { sclass C {} } svoid bla { new O() {}; } p { ClassLoader loader = myClassLoader(); print("Class loader type: " + getClassName(loader)); Cl<File> files = cast getOpt(loader, "files"); pnl(files); pnl(myClasses()); L<S> names = getClassNames(myLoadedClasses()); print("Classes loaded: " + struct(names)); loadMyClasses(); L<S> names2 = getClassNames(myLoadedClasses()); print("Classes loaded: " + struct(names2)); assertTrue(l(names2) > l(names)); print("OK"); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008503 |
Snippet name: | Test myClasses & loadMyClasses |
Eternal ID of this version: | #1008503/10 |
Text MD5: | 31c0844d2cec8358e329fb6b452d1a26 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-09 08:44:24 |
Source code size: | 536 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 478 / 855 |
Version history: | 9 change(s) |
Referenced in: | [show references] |