jdk/src/java.base/share/classes/sun/net/www/protocol/http/AuthenticationHeader.java
--- a/jdk/src/java.base/share/classes/sun/net/www/protocol/http/AuthenticationHeader.java Tue May 03 11:45:56 2016 +0100
+++ b/jdk/src/java.base/share/classes/sun/net/www/protocol/http/AuthenticationHeader.java Tue May 03 15:50:54 2016 +0200
@@ -94,7 +94,7 @@
}
static {
- authPref = GetPropertyAction.getProperty("http.auth.preference");
+ authPref = GetPropertyAction.privilegedGetProperty("http.auth.preference");
// http.auth.preference can be set to SPNEGO or Kerberos.
// In fact they means "Negotiate with SPNEGO" and "Negotiate with