Bug 60653

Summary: remove or make optional output of comment
Product: Tomcat 8 Reporter: bmisek
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Severity: enhancement    
Priority: P2    
Version: 8.5.9   
Target Milestone: ----   
Hardware: PC   
OS: All   

Description bmisek 2017-01-26 19:35:47 UTC
In Generator.java when generating the setters, it outputs a comment for each one. This line:

out.printil("// "+m.getFile()+"("+m.getLineNumber()+","+m.getColumnNumber()+") "+ attrs[i].getTagAttributeInfo());

Can either remove this comment output or make it some type of optional debug setting?  We've got a scenario with some custom tags that causes really large generated code and much of it is comments due to this line.

Comment 1 Mark Thomas 2017-01-27 10:05:44 UTC
Comments have no impact on the size of the generated class file.

This appears to be a duplicate of the issues raised after the try/finally clean-up fixes.

*** This bug has been marked as a duplicate of bug 60613 ***