Resolution: Won't Fix
Affects Version/s: Master
Component/s: Core Infrastructure > Servlet JSP Compiler
Is this a limitation of our compiler? Or it is a limitation of the JSP itself?
This issue was found when testing
LPS-96151, we are going to correct that issue removing the overloaded method, so the issue won't be reproducible, but the root cause won't be fixed. Anyway, I think reporting this issue is worth it in the case we found more cases in the future.
The problematic taglib for this case was the ButtonTag, which has a method setStyle that is
- go to journal-web
- execute the gradle task generateJspJava
- open build/jspc/org/apache/jsp/article/template_jsp.java
- look for the line when setStyle is called
setStyle is called with the correct parameter "secondary"
Actual behavior (some times, this is not deterministic)
setStyle is called with the parameter new Boolean("false")