Libraryless. Click here for Pure Java version (3017L/18K).
1 | !7 |
2 | |
3 | import java.beans.*; |
4 | |
5 | sclass Fixer extends DynModule { |
6 | void start { |
7 | PropertyChangeListener[] l = UIManager.getPropertyChangeListeners(); |
8 | pnl(map className(l)); |
9 | for (O o : l) |
10 | if (eq(className(o), "javax.swing.border.TitledBorder$1") |
11 | && getOpt(o, "this$0") != null) { |
12 | setOpt(o, "this$0", null); |
13 | print("FIXED " + o); |
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: | #1016261 |
Snippet name: | Fix PropertyChangeListener leaks [Dyn Module] |
Eternal ID of this version: | #1016261/3 |
Text MD5: | 676899d4dac3033ccde0835ea9d21e7e |
Transpilation MD5: | 6bb8e6bfb0aab86a847cd214fd0904be |
Author: | stefan |
Category: | javax / modules |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-12 19:40:04 |
Source code size: | 390 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 398 / 488 |
Version history: | 2 change(s) |
Referenced in: | [show references] |