ResolverConfiguration.namesersers() doesn't return generic list on jdk 6.