1 | static L<ClassLoader> acc_classLoaders() { |
2 | ret acc_classLoaders(AccessController.getContext()); |
3 | } |
4 | |
5 | static L<ClassLoader> acc_classLoaders(AccessControlContext context) { |
6 | ProtectionDomain[] domains = (ProtectionDomain[]) call(context, 'getContext); |
7 | ret map(domains, func(ProtectionDomain d) -> ClassLoader { d.getClassLoader() }); |
8 | } |
Began life as a copy of #1016273
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016274 |
Snippet name: | acc_classLoaders - check current access control list |
Eternal ID of this version: | #1016274/2 |
Text MD5: | 861867cc15f90cc595b89ba89d776841 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-13 12:40:57 |
Source code size: | 344 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 437 / 497 |
Version history: | 1 change(s) |
Referenced in: | [show references] |