12 Jul 2023 10:50:30 Romain Manni-Bucau <[email protected]>:
Le mer. 12 juil. 2023 à 10:47, Mark Thomas <[email protected]> a écrit :
On 07/07/2023 09:33, Romain Manni-Bucau wrote:
Hi,
Do you think we can make jakarta.annotations optional from
tomcat-catalina?
Would ease IDE completion when this is not supported and tomcat is
wrapped
in another web api.
I don't think so. @PostConstruct and @PreDestory support is a
mandatory
requirement of the Servlet spec.
Does not mean it can not be made optional if not in the classpath
technically - or did you speak more on "will" side?
I think I am close to a -1 on such a change. Marking what is a mandatory
dependency as optional is likely to cause issues for folks that need it.
It isn't as if they expect to have to add the dependency to use those
annotations.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]