Summary
The JavaBeanXxxPropertyBuilders constructors were deprecated for removal in JDK-8229472 (CSR: JDK-8233704). They can now be removed by making them private.
Problem
The constructors are marked as deprecated for removal. They need to be removed from the public API.
Solution
Make the constructors private and remove the @Deprecated annotation.
Specification
The default constructor for all JavaBeanXxxPropertyBuilder
s and ReadOnlyJavaBeanXxxPropertyBuilder
s are made private as shown here for the Double variant:
private JavaBeanDoublePropertyBuilder() {}
JavaBeanBooleanPropertyBuilder()
JavaBeanDoublePropertyBuilder()
JavaBeanIntegerProperty()
JavaBeanLongPropertyBuilder()
JavaBeanFloatPropertyBuilder()
JavaBeanStringPropertyBuilder()
JavaBeanObjectPropertyBuilder()
ReadOnlyJavaBeanBooleanPropertyBuilder()
ReadOnlyJavaBeanDoublePropertyBuilder()
ReadOnlyJavaBeanIntegerProperty()
ReadOnlyJavaBeanLongPropertyBuilder()
ReadOnlyJavaBeanFloatPropertyBuilder()
ReadOnlyJavaBeanStringPropertyBuilder()
ReadOnlyJavaBeanObjectPropertyBuilder()
- csr of
-
JDK-8240688 Remove the JavaBeanXxxPropertyBuilders constructors
-
- Resolved
-