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

9
LINES

< > BotCompany Repo | #1017168 // fixACCInClassLoader

JavaX fragment (include)

1  
// I believe this was meant to mitigate memory leaks.
2  
// Disabled now because JDK 17 doesn't allow it anyways.
3  
svoid fixACCInClassLoader(O o) {
4  
  /*pcall {
5  
    AccessControlContext acc = vm_globalACC();
6  
    if (acc != null)
7  
      replaceACCInClassLoader(o, acc);
8  
  }*/
9  
}

Author comment

Began life as a copy of #1017146

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: #1017168
Snippet name: fixACCInClassLoader
Eternal ID of this version: #1017168/3
Text MD5: a0ba74614a83b492d06a529d478e4330
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-22 15:44:17
Source code size: 278 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 317 / 370
Version history: 2 change(s)
Referenced in: [show references]