Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1016273 // Play with AccessControlContext

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (6154L/44K).

1  
!7
2  
3  
// Notable VM flag: --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
4  
5  
p-experiment {
6  
  AccessControlContext context = AccessController.getContext();
7  
  print(context);
8  
  ProtectionDomain[] domains = (ProtectionDomain[]) call(context, 'getContext);
9  
  pnl(domains);
10  
  L<ClassLoader> l = acc_classLoaders();
11  
  print(l);
12  
  print(map className(l));
13  
  print(onlyJavaXClassLoaders(l));
14  
  print(acc_programIDs());
15  
}

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: #1016273
Snippet name: Play with AccessControlContext
Eternal ID of this version: #1016273/11
Text MD5: d747eadcf5139ef4e4eabf8d4dfb6df7
Transpilation MD5: 7b210c8a1ed40f03e61301cb3ab293ab
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-13 00:45:20
Source code size: 429 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 543 / 1417
Version history: 10 change(s)
Referenced in: [show references]