1 | // disabled because JDK 17 |
2 | svoid cleanDefunctACCsInAllThreads() {
|
3 | /* |
4 | for (Thread t : allThreadsWithACC()) pcall {
|
5 | AccessControlContext acc = castGetOpt(t, 'inheritedAccessControlContext); |
6 | if (acc == null) continue; |
7 | L<S> defunctIDs = acc_defunctProgramIDs(acc); |
8 | if (nempty(defunctIDs)) {
|
9 | S desc = threadGroupName(t) + " / " + t.getName(); |
10 | //print("DEFUNCT ACC IN THREAD! Cleaning. " + defunctIDs + ": " + desc);
|
11 | set(t, inheritedAccessControlContext := acc_current()); |
12 | //print("CLEANED.");
|
13 | } |
14 | } |
15 | */ |
16 | } |
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: | #1016334 |
| Snippet name: | cleanDefunctACCsInAllThreads |
| Eternal ID of this version: | #1016334/3 |
| Text MD5: | d90cb59c3de0c60cf59ff686492c5db2 |
| Author: | stefan |
| Category: | javax / maintenance |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-22 15:55:33 |
| Source code size: | 563 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1076 / 1134 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |