Anonymous | Login | Signup for a new account | 01-05-2025 09:29 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003699 | [Resin] | minor | always | 09-28-09 09:55 | 10-30-09 18:36 | ||||
Reporter | daniel_larsson | View Status | public | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.2 | Product Version | 3.0.28 | ||||
Product Build | |||||||||
Summary | 0003699: Faulty code generated for JSP pages under some circumstances | ||||||||
Description |
I'm not sure how to minimally produce this, but I have a tagfile using a custom taglib, and I'm getting java compile errors in the generated java code. The problem is similar to the one reported in bug 0001037. The problem is the generated code includes a reference to "_jspBody", which is a private member, and not accessible by the generated class. In the source modules/resin/src/com/caucho/jsp/java/JspNode.java, generateFragment contains the code: if (_gen instanceof JavaTagGenerator) { JavaTagGenerator tagGen = (JavaTagGenerator) _gen; if (tagGen.isStaticDoTag()) // jsp/1025 cb.append(", _jspBody"); else cb.append(", getJspBody()"); } else cb.append(", null"); but modules/resin/src/com/caucho/jsp/java/JspFragmentNode.java, generateValue says: if (_gen instanceof JavaTagGenerator) cb.append(", _jspBody"); else cb.append(", null"); Changing the latter into the former fixes the problem. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | This problem seems to be present in 3.0.28, 3.1.9 and 4.0.1 | ||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |