Issue Bug Closed

#64971Static access to enumeration constants requires instance once

Mathias Brodala 02/10/15, 15:25 updated 10/02/18, 11:46

Description

With #61090 retrieving constants from an Enumeration was simplified by static access.

This however does not work if no Enuemration instance was created before retrieving the constants. The reasons is that the actual constant values are only loaded upon creation of an instance (instance method loadValues()).

This needs to be fixed my making loadValues() static, too.

Reviews 2