Fix test to match behavior of OpenJDK and RI

Bug: 26023857
Change-Id: Ib0632d9b04e54d38dc0e7bff18b6772ea605fc79
1 file changed