Fixes #3313: record trust is now a user parameter.
codebase used to migrate to java8 the production system