-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 7u6
-
Component/s: javafx
Color creates a pile of predefined public static final color references. And these all call rgb(r, g, b) method calls. Instead have a private constructor which just assigns the values to red, green, and blue and save ourselves all the checks.