As you're probably aware, all Boolean, Byte, Character, Double, Float,
Integer, Long, and Short constructors were deprecated in JDK 9,
https://www.oracle.com/java/technologies/javase/9-deprecated-features.html#JDK-8065614.
They were then marked forRemoval=true in JDK 16.
Jasper generates code that uses these deprecated constructors, when
binding tag attributes to setters. This results in fairly adamant
warnings when compiling on javac (not sure how JDT reacts). For now, the
generated code compiles and the warnings could be disabled, but they're
clearly telling us the JDK will remove support at some point. Is there
any plan to adjust the code gen to use auto-boxing or valueOf() instead
of the deprecated constructors?
I can file a bug and/or work up a patch. JspUtil.java appears to contain
the relevant code.
Thanks,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org