-
Enhancement
-
Resolution: Fixed
-
P3
-
jfx15
Currently, we identified several recurring issues with skin implementations, all (at least loosely) related to replacing skins. Amongst them:
- memory leaks: JDK-8241364
- NPE, IOOBE or other harmful side-effects, f.i.JDK-8244110
- contract violation in disposeJDK-8244112
- maybe others?
The very first task is to _find_ all these issues across all skins (not just by chance). The solution are (hopefully :) tests that are parameterized in control classes, focusing onto just a single (or several related) common misbehavior. That's already done for the contract violation in dispose.
The task addressed here is use a similar pattern for memory leaks/side-effects.
- memory leaks: JDK-8241364
- NPE, IOOBE or other harmful side-effects, f.i.
- contract violation in dispose
- maybe others?
The very first task is to _find_ all these issues across all skins (not just by chance). The solution are (hopefully :) tests that are parameterized in control classes, focusing onto just a single (or several related) common misbehavior. That's already done for the contract violation in dispose.
The task addressed here is use a similar pattern for memory leaks/side-effects.
- blocks
-
JDK-8245282 Button/Combo Behavior: memory leak on dispose
- Resolved
- relates to
-
JDK-8256649 Parameterized tests must not use instances as parameters
- Resolved
-
JDK-8244112 Skin implementations: must not violate contract of dispose
- Resolved
-
JDK-8241364 ☂ Cleanup skin implementations to allow switching
- Open
(1 links to)