Hello Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/10321

to look at the new patch set (#3).

Change subject: KUDU-2403: Fix FakeDNS to work in Java 9+
......................................................................

KUDU-2403: Fix FakeDNS to work in Java 9+

This fixes the FakeDNS implimentation in Java 9+ by
first trying to use reflection to replace the internal
java.net.InetAddress$NameService implimentation (Java 9 or later)
with our own. If the java.net.InetAddress$NameService field
doesn’t exist, we add our NameService
implimentation to the java.net.InetAddress$NameServices
field (Java 8 or earlier).

All Java versions have the same NamService interface.
The main difference is the field names and class location.
That allows us to use the same Implimentation to replace
the default NameService in all versions.

Change-Id: I319f42b6b878531325d6a48ce6ccdcc9b40fe2bc
---
M java/gradle/tests.gradle
M java/kudu-client/src/test/java/org/apache/kudu/client/FakeDNS.java
2 files changed, 89 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/21/10321/3
--
To view, visit http://gerrit.cloudera.org:8080/10321
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I319f42b6b878531325d6a48ce6ccdcc9b40fe2bc
Gerrit-Change-Number: 10321
Gerrit-PatchSet: 3
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins

Reply via email to