Example for a regression bug introduced in JDK 8.