Build hooks to allow closed restricted packages to be added to java.security file Reviewed-by: erikj, dholmes, tbell