234 // List is mutable so return a shallow copy
235
236 return (List<String>)nameservers.clone();
237
238 }
239 }
240
241 public Options options() {
242 return opts;
243 }
244
245
246 // --- Native methods --
247
248 static native String localDomain0();
249
250 static native String fallbackDomain0();
251
252 static {
253 java.security.AccessController.doPrivileged(
254 new sun.security.action.LoadLibraryAction("net"));
255 }
256
257 }
258
259 /**
260 * Implementation of {@link ResolverConfiguration.Options}
261 */
262 class OptionsImpl extends ResolverConfiguration.Options {
263 }
|
234 // List is mutable so return a shallow copy
235
236 return (List<String>)nameservers.clone();
237
238 }
239 }
240
241 public Options options() {
242 return opts;
243 }
244
245
246 // --- Native methods --
247
248 static native String localDomain0();
249
250 static native String fallbackDomain0();
251
252 static {
253 java.security.AccessController.doPrivileged(
254 new java.security.PrivilegedAction<Void>() {
255 public Void run() {
256 System.loadLibrary("net");
257 return null;
258 }
259 });
260 }
261
262 }
263
264 /**
265 * Implementation of {@link ResolverConfiguration.Options}
266 */
267 class OptionsImpl extends ResolverConfiguration.Options {
268 }
|