Re: Clarify adoption of JPMS Java modules in webapps

2025-09-23 Thread Christopher Schultz
Rony, On 9/23/25 12:10 PM, Rony G. Flatscher (Apache) wrote: On 23.09.2025 12:13, Mark Thomas wrote: On 23/09/2025 10:49, Christian Ortlepp wrote: So my concrete questions are: 1. Am I correct in saying that there is no way to make the tomcat webapp classloader load (some of) my classes

Re: Clarify adoption of JPMS Java modules in webapps

2025-09-23 Thread Rony G. Flatscher (Apache)
On 23.09.2025 12:13, Mark Thomas wrote: On 23/09/2025 10:49, Christian Ortlepp wrote: So my concrete questions are: 1. Am I correct in saying that there is no way to make the tomcat webapp classloader load (some of) my classes onto the module-path instead of the class-path? Yes. And if

Re: Clarify adoption of JPMS Java modules in webapps

2025-09-23 Thread Christian Ortlepp
Okay, thanks for the quick reply! On 9/23/25 12:13, Mark Thomas wrote: External Message - Please be cautious when opening links or attachments On 23/09/2025 10:49, Christian Ortlepp wrote: So my concrete questions are: 1. Am I correct in saying that there is no way to make the tomcat weba

Re: Clarify adoption of JPMS Java modules in webapps

2025-09-23 Thread Mark Thomas
On 23/09/2025 10:49, Christian Ortlepp wrote: So my concrete questions are: 1. Am I correct in saying that there is no way to make the tomcat webapp classloader load (some of) my classes onto the module-path instead of the class-path? Yes. And if that is the case, is this a deliberate de

Clarify adoption of JPMS Java modules in webapps

2025-09-23 Thread Christian Ortlepp
Hey there, I'm currently preparing a Java upgrade of my Tomcat application from 17 to 25. In JDK 24 (https://openjdk.org/jeps/472) a new runtime warning was added if a class tries to use native methods, which is the the case in one of my libraries. I'm currently trying to figure out whether