[MERGE] forward port of branch 8.0 up to d80376a