ISPN-4424 Synchronize updating cache entry and making a copy
ISPN-4424 Synchronize updating cache entry and making a copy
- making the CacheEntry immutable is not enough, the whole CacheEntry hierarchy needs to be made immutable
- using clone is simpler that making the hierarchy immutable
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.