Make EntityManager @final
and its constructor public
#9915
Merged
8000
@final
and its constructor public
#9915