Re: Issues when building native image with GraalVM

2021-12-28 Thread Rémy Maucherat
On Tue, Dec 28, 2021 at 7:18 PM Mar R wrote: > > Tomcat 10.0.14 > Windows 10 x64 21H1 OS Build 19043.1415 > > openjdk version "17.0.1" 2021-10-19 > OpenJDK Runtime Environment GraalVM CE 21.3.0 (build > 17.0.1+12-jvmci-21.3-b05) > OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (build

Issues when building native image with GraalVM

2021-12-28 Thread Mar R
Tomcat 10.0.14 Windows 10 x64 21H1 OS Build 19043.1415 openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment GraalVM CE 21.3.0 (build 17.0.1+12-jvmci-21.3-b05) OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (build 17.0.1+12-jvmci-21.3-b05, mixed mode, sharing) NetBeans 12.6, maven webapp

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Mark Thomas
On 28/12/2021 14:58, Michael B Allen wrote: On Tue, Dec 28, 2021 at 3:29 AM Johan Compagner wrote: Will that really work? No. Clearly I'm not paying attention because after reading surprisingly little information about this fundamental incompatibility and downloading and trying Tomcat 10,

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Johan Compagner
i think the whole point was that they had to break with the "javax" naming because oracle doesn't allow that outside it stuff. not sure if Tomcat 10 would be allowed to just have both classes/interfaces for compatibility Also this would be a big hurdle moving forwards (and not sure if everything

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Michael B Allen
On Tue, Dec 28, 2021 at 3:29 AM Johan Compagner wrote: > > Will that really work? No. Clearly I'm not paying attention because after reading surprisingly little information about this fundamental incompatibility and downloading and trying Tomcat 10, there is no way to use a javax.servlet

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-28 Thread Olaf Kock
On 28.12.21 00:36, Chew Kok Hoor wrote: > We're using the old javax.servlet namespace for compatibility reasons. > > Some of our jar files are re-used by different web-apps, therefore we > placed them in the common classloader. > > Is it possible to convert them dynamically, just

Re: javax.servlet vs jakarta.servlet?

2021-12-28 Thread Johan Compagner
Will that really work? tomcat 10 internally really expects jakarta.xxx now right? so if you have a class MyServlet extends javax.Servlet i don't think tomcat 10 will do anything with that (if that is not converted first through the migration tool) I have a feeling that you really can't mix, but