On the javahl-1.8-extensions branch: Sync JavaHL with trunk up to r1539407.

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/javahl-1.8-extensions@1539408 13f79535-47bb-0310-9956-ffa450edef68