You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/01/26 19:35:47 UTC

[Bug 60653] New: remove or make optional output of comment

https://bz.apache.org/bugzilla/show_bug.cgi?id=60653

            Bug ID: 60653
           Summary: remove or make optional output of comment
           Product: Tomcat 8
           Version: 8.5.9
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: bmisek@automationdirect.com
  Target Milestone: ----

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.

thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60653] remove or make optional output of comment

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60653

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
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 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org