Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8226912

Color, Point2D and Point3D's fields should be made final

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx13
    • jfx13
    • javafx
    • None

      These classes are structured as immutable, but their fields (rgb, xyz) are not declared final. The risk is that these values will be modified internally by mistake. It's safest to make them final.

            nlisker Nir Lisker
            nlisker Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: