[MERGE] forward port of branch 8.0 up to 92c7874