uschindler commented on PR #14811:
URL: https://github.com/apache/lucene/pull/14811#issuecomment-2987082206

   Final note abozut subclasses: You need to add all ctors of sublasses of 
Classloader which reside in JDK. Now you might argue that one could define a 
subclass in user code (extending URLClassLoader) to circumvent the check. But 
this is differeent because when you declare that "user defined" classloader you 
have to add a ctor which calls super -> then it detect calling the call to 
superclass' ctor which was forbidden.


-- 
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: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to