Preparing migrations to inline classes

Nir Lisker nlisker at
Sun Sep 27 18:29:18 UTC 2020


Project Valhalla is planning to create an annotation to apply to classes
that are planned to be migrated to inline classes [1]. As part of the
migration requirements, classes can't have a public or protected
constructor, and this is the main breaking change. They must also be final,
though I doubt many of these were extended.

We should start compiling a list of classes that are candidates
for migration so we will have enough time to deprecate constructors and
otherwise prepare developers for these changes when inline classes will be

As an example, Point2D/3D are good migration candidates. They will need to
have their constrictors removed and the classes made final. Other
candidates are:

Internal classes are less of a problem and can be migrated without

- Nir


More information about the openjfx-dev mailing list