adjust the expected min size for JDK 9 and prior releases