RFR: 8313403: Remove unused 'mask' field from JFormattedTextField

Alexey Ivanov aivanov at openjdk.org
Fri Aug 18 17:44:30 UTC 2023


On Thu, 17 Aug 2023 21:37:17 GMT, Phil Race <prr at openjdk.org> wrote:

>> The private field `mask` is never used in `JFormattedTextField`.
>> 
>> I couldn't find any usages of the field, including JNI. Therefore, it is safe to remove.
>
> Marked as reviewed by prr (Reviewer).

@prrace could you confirm, please? No CSR is required to remove an unused private field from classes in Swing because the specification for Swing classes states, “Serialized objects of this class will not be compatible with future Swing releases.”

It is to resolve @mrserb's concern raised above.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15088#issuecomment-1684233788


More information about the client-libs-dev mailing list