< prev index next >
src/java.base/unix/classes/sun/net/www/protocol/http/ntlm/NTLMAuthentication.java
Print this page
*** 93,103 ****
}
private void init0() {
hostname = java.security.AccessController.doPrivileged(
! new java.security.PrivilegedAction<String>() {
public String run() {
String localhost;
try {
localhost = InetAddress.getLocalHost().getHostName();
} catch (UnknownHostException e) {
--- 93,103 ----
}
private void init0() {
hostname = java.security.AccessController.doPrivileged(
! new java.security.PrivilegedAction<>() {
public String run() {
String localhost;
try {
localhost = InetAddress.getLocalHost().getHostName();
} catch (UnknownHostException e) {
< prev index next >