as determined by SkinMemoryLeakTest (remove line 174) and a leak tester
https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/apps/LeakTest.java
caused by:
- adding and not removing listeners
- adding and not removing event handlers/filters
NOTE:
this fix requiresJDK-8295242 scroll bar fixes, as well as JDK-8294809 ListenerHelper
https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/apps/LeakTest.java
caused by:
- adding and not removing listeners
- adding and not removing event handlers/filters
NOTE:
this fix requires
- blocks
-
JDK-8241364 ☂ Cleanup skin implementations to allow switching
- Open
- relates to
-
JDK-8295242 ScrollBarSkin: memory leak when changing skin
- Resolved
-
JDK-8294809 ListenerHelper for managing and disconnecting listeners
- Resolved