peturthors commented on pull request #608:
URL: https://github.com/apache/logging-log4j2/pull/608#issuecomment-991139464


   > Can't find much info about it.
   
   grep-ing  through the source code for jdk-11.0.1 we get 
   `src/java.naming/com/sun/jndi/ldap/VersionHelper.java:        
PrivilegedAction<String> act =
   src/java.naming/com/sun/jndi/ldap/VersionHelper.java:                () -> 
System.getProperty("com.sun.jndi.ldap.object.trustURLCodebase", "false");`
   and
   `src/jdk.naming.rmi/com/sun/jndi/rmi/registry/RegistryContext.java:        
PrivilegedAction<String> act = () -> System.getProperty(
   src/jdk.naming.rmi/com/sun/jndi/rmi/registry/RegistryContext.java:           
 "com.sun.jndi.rmi.object.trustURLCodebase", "false");
   `
   So I'm guessing jdk-11.0.1 and later set these properties to false by 
default.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to