src/java.base/unix/classes/sun/net/dns/ResolverConfigurationImpl.java
changeset 55693 9a97b1393e72
parent 53018 8bf9268df0e2
equal deleted inserted replaced
55692:64330bbb9be5 55693:9a97b1393e72
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   257     static native String localDomain0();
   257     static native String localDomain0();
   258 
   258 
   259     static native String fallbackDomain0();
   259     static native String fallbackDomain0();
   260 
   260 
   261     static {
   261     static {
   262         java.security.AccessController.doPrivileged(
   262         jdk.internal.loader.BootLoader.loadLibrary("net");
   263             new java.security.PrivilegedAction<>() {
       
   264                 public Void run() {
       
   265                     System.loadLibrary("net");
       
   266                     return null;
       
   267                 }
       
   268             });
       
   269     }
   263     }
   270 
   264 
   271 }
   265 }
   272 
   266 
   273 /**
   267 /**