Be VERY careful with these cases, where a static field is initialised with a value that is dependent on the domain.

Static fields are initialised when the class is loaded. If something triggers the load of this class outside of the context of a transaction, an exception WILL be thrown, and the initialization of the class will fail, triggering a `NoClassDefFoundError`.