JDK-8124188 : Deprecate builders
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-05-20
  • Updated: 2016-05-14
  • Resolved: 2013-10-10
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.
JDK 8
8Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
There are two problems with the builders code
1. it's not possible to call static create method for parametrized builders (RT-24272)
2. binary incompatibility when class hierarchy changes
With 8.0 javac, the builders code won't even compile.
Since there is no easy solution for these issues, the builders should be deprecated in 8.0 and removed in next version.
(see also http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-March/006725.html)
Comments
Link to the mailing list in the description accidentally included the closing parenthesis.
24-02-2014

RT-14875 has a lot of "back-story" about the builders.
24-02-2014

RT-35522 involves improving documentation for FXMLLoader.
24-02-2014

Sure. I just added a "related to" link.
22-02-2014

Can this be linked to RT-29409?
22-02-2014

Builders were already deprecated, the only remaining task is to document the migration strategy
10-10-2013

AffectedTests: SceneGraphAutomated/javafx/builder/processor/BigClassTest/testInheritedConstructorWithGetter SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/collectionGetterOnlyTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/collectionWithSetterTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/factoryTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/isGetterTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/methodApplyToTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/methodBuildTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/packagePrivateSetterTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/privateSetterTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/protectedGetterTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/setThroughConstructor SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/simplePackagePrivateSetterGetterTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/simpleTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/testPrivateConstructor SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/testProtectedConstructor SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/testWithoutGetters SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/treatAsPrivateGetterOnlyTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/treatAsPrivateSetterOnlyTest SceneGraphAutomated/javafx/builder/processor/ConstructorWithParametersTest/treatAsPrivateTest SceneGraphAutomated/javafx/builder/processor/ImmutableClassTest/factoryTest SceneGraphAutomated/javafx/builder/processor/ImmutableClassTest/methodApplyToTest SceneGraphAutomated/javafx/builder/processor/ImmutableClassTest/methodBuildTest SceneGraphAutomated/javafx/builder/processor/ImmutableClassTest/simpleTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/collectionGetterOnlyTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/collectionWithSetterTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/factoryTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/isGetterTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/methodApplyToTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/methodBuildTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/packagePrivateSetterTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/privateSetterTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/protectedGetterTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/simpleTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/testInheritedGetter SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/testInheritedSetter SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/testSetThroughConstructor SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/treatAsPrivateGetterOnlyTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/treatAsPrivateSetterOnlyTest SceneGraphAutomated/javafx/builder/processor/InheritedSetterGetterTest/treatAsPrivateTest SceneGraphAutomated/javafx/builder/processor/ManyPropertyTest/testMore32 SceneGraphAutomated/javafx/builder/processor/ManyPropertyTest/testMore64 SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/collectionGetterOnlyTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/collectionWithSetterTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/factoryTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/isGetterTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/methodApplyToTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/methodBuildTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/packagePrivateSetterTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/privateSetterTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/protectedGetterTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/simpleTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/treatAsPrivateGetterOnlyTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/treatAsPrivateSetterOnlyTest SceneGraphAutomated/javafx/builder/processor/SetterGetterTest/treatAsPrivateTest
20-06-2013