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).

!7

// Notable VM flag: --add-opens java.base/jdk.internal.loader=ALL-UNNAMED

p-experiment {
  AccessControlContext context = AccessController.getContext();
  print(context);
  ProtectionDomain[] domains = (ProtectionDomain[]) call(context, 'getContext);
  pnl(domains);
  L<ClassLoader> l = acc_classLoaders();
  print(l);
  print(map className(l));
  print(onlyJavaXClassLoaders(l));
  print(acc_programIDs());
}

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: 400 / 1051
Version history: 10 change(s)
Referenced in: [show references]