JDK-8260475 : Deprecate for removal protected access members in DateTimeStringConverter
  • Type: Bug
  • Component: javafx
  • Sub-Component: base
  • Affected Version: jfx15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-01-27
  • Updated: 2023-08-18
  • Resolved: 2021-02-05
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
jfx17Fixed
Related Reports
Blocks :  
Blocks :  
CSR :  
Relates :  
Description
DateTimeStringConverter has undocumented protected fields that should not be part of the public API. There is also a protected accessor for dateFormat that should probably be deprecated. No other Converter gives access to internal data, like NumberConverter that is a similar superclass converter.

Except for dateFormat, the fields are used only in construction and should not even be fields. dateFormat itself does not need to be exposed.
Comments
Changeset: d4058a18 Author: Nir Lisker <nlisker@openjdk.org> Date: 2021-02-05 21:07:52 +0000 URL: https://git.openjdk.java.net/jfx/commit/d4058a18
05-02-2021