>-----Original Message----- >From: Lukasz Lenart <lukaszlen...@apache.org> >Sent: Tuesday, January 22, 2019 12:03 PM >To: Struts Users Mailing List <user@struts.apache.org> >Subject: Re: Java 11 support > >Ok, thanks. I see your point now, but this can be hard to support as we must >support Java 7 (or Java 8 in case of Struts 2.6) and at the same time Java 11 >- I >think we will have to develop a dedicated plugin that will replace ClassFinder >in >the Convention plugin in case of Java 11. >
Hi Łukasz, I would prefer to allow user to optionally override the default Opcodes.ASM5 via a constant in struts.xml e.g. <constant name="struts.convention.asmapi" value=" Opcodes.ASM7"/>, Or more better, to think if it's possible to determine it at runtime via user's runtime context e.g. java version. Wdyt? Kind Regards. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org