-
Bug
-
Resolution: Fixed
-
Minor
-
-
2.485, 2.479.2
When attempting to use the zero-argument version of jenkins.util.SetContextClassLoader in ldap-plugin, I got this exception:
java.lang.UnsupportedOperationException: This stack walker does not have RETAIN_CLASS_REFERENCE access at java.base/java.lang.StackWalker.getCallerClass(StackWalker.java:687) at jenkins.util.SetContextClassLoader.<init>(SetContextClassLoader.java:65) at PluginClassLoader for ldap//hudson.security.LDAPSecurityRealm$LDAPAuthenticationManager.authenticate(LDAPSecurityRealm.java:989) at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:85) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:231) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) at hudson.security.ChainedServletFilter2$1.doFilter(ChainedServletFilter2.java:99)
- links to