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

9
LINES

< > BotCompany Repo | #1017168 // fixACCInClassLoader

JavaX fragment (include)

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

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: 305 / 357
Version history: 2 change(s)
Referenced in: [show references]