8240454: incorrect error message: as of release 13, 'record' is a restricted type name

Reviewed-by: jlahoda
6 files changed