Clone of JDK-8371898 to fix issue with getEntryNames(). Required in Valhalla to unblock JDK-8371897.
------------- Commit messages: - Copy fix from mainline Changes: https://git.openjdk.org/valhalla/pull/1736/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1736&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8371898 Stats: 7 lines in 1 file changed: 0 ins; 1 del; 6 mod Patch: https://git.openjdk.org/valhalla/pull/1736.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1736/head:pull/1736 PR: https://git.openjdk.org/valhalla/pull/1736
