JDK-8294470 : Remove ResizeFeaturesBase public constructor
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: openjfx20
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2022-09-27
  • Updated: 2022-12-13
  • Resolved: 2022-12-13
Related Reports
Blocks :  
Cloners :  
Relates :  
Description
Let's make the ResizeFeaturesBase constructor package scope, which would remove it from the public API. There seems to be no good reason for the constructor to be public, since we really don't want to allow arbitrary subclassing.

This suggests that we might want to file a bug to deprecate the constructor for removal in 20 and remove it (i.e., make it package scope) in 21.

This ticket is for making the constructor package protected.
This comes from work done for alternative column resize policy JDK-8293119.
Comments
As part of our discussion of the CSR for constrained resize policies (see JDK-8294398), we decided to both make FeatureResizeBase abstract, and to leave the public constructor in place. As such we should close both this and the follow-on Enhancement (JDK-8294470) as "Won't fix".
13-12-2022