On 23/12/2022 03:28, Tim N wrote:
Do you think this thread is useful info for any Tomcat-embedded Java 17
migration guide/how-to? I'm happy to tidy it up and contribute if there's
an official Tomcat-embedded place for it.

It is on the mailing list so it shoudl alreayd be findable. The wiki is probably the place for this.

The Java code looks good to me. The calls to
SecurityClassLoad.securityClassLoad() and Service.setParentClassLoader()
may be unnecessary

Looks like I can ditch the SecurityClassLoad.securityClassLoad() call, but
without the Service.setParentClassLoader() call I get classloading errors,

<snip/>

Do you think I need to look into that more, or does it make sense that the
Service.setParentClassLoader() prevents this?

It makes sense. Keep the call.

Mark

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

Reply via email to