JDK-8244419 : TextAreaSkin: throws UnsupportedOperation on dispose
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 9,openjfx11,openjfx14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-05
  • Updated: 2021-09-03
  • Resolved: 2021-08-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx18Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
below is a failing test method. 

This turned up during binch testing for JDK-8244112 for all controls. Will exclude TextArea with a pointer to this issue.

Set priority to p3 because throwing Unsupported as todo-marker is not acceptable (and leaves no way to work around).

The test method:

    /**
     * TextAreaSkin throws UnsupportedOperation in dispose.
     */
    @Test
    public void testTextAreaSkinUnsupportedDispose() {
        TextArea textArea = new TextArea();
        textArea.setSkin(new TextAreaSkin(textArea));
        textArea.getSkin().dispose();
    }
    

Comments
Changeset: 5e9f6171 Author: Jeanette Winzenburg <fastegal@openjdk.org> Date: 2021-08-23 12:04:57 +0000 URL: https://git.openjdk.java.net/jfx/commit/5e9f6171289ea20e2d700f2422a4eae50287dd41
23-08-2021

the fix will also include memory/side-effect issues when switching skins
03-08-2021