JDK-8275848 : Deprecate for removal mistakenly exposed field from class javafx.scene.shape.Box
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: openjfx17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2021-10-25
  • Updated: 2021-10-29
  • Resolved: 2021-10-29
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
CSR :  
Relates :  
Description
This came up while reviewing JDK-8271090.
See - https://github.com/openjdk/jfx/pull/650#discussion_r734599035

class javafx.scene.shape.Box has below field that is mistakenly exposed.
public static final double DEFAULT_SIZE = 2;

This needs to be marked as deprecated and subsequently removed (made private)
Comments
Changeset: d9e1ad97 Author: Ajit Ghaisas <aghaisas@openjdk.org> Date: 2021-10-29 14:21:59 +0000 URL: https://git.openjdk.java.net/jfx/commit/d9e1ad976873799128871c0544f6eb26e843b880
29-10-2021