JDK-8214112, fix was made to correct highlight color for selected text in JPasswordField, JFormattedText and JSpinner. But no automated test was written to verify the results. Current bug is to write the automated tests for the same.
JDK-8221781 was created to add automated tests for a number of fixes done related to gtk3. The current fix covers JPasswordField, JFormattedTextField, JSpinner widgets from the widgets listed in JDK-8221781