core: fix DNS JNDI not working if there is an unavailability cause

This commit is contained in:
Carl Mastrangelo 2019-03-25 16:10:13 -07:00 committed by GitHub
parent 43d38cfa03
commit 53f4ad21b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -693,6 +693,7 @@ final class DnsNameResolver extends NameResolver {
Level.FINE,
"JndiResourceResolverFactory not available, skipping.",
rrf.unavailabilityCause());
return null;
}
return rrf;
}