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 2012/01/12 12:54:46 UTC

DO NOT REPLY [Bug 52458] New: Bug in JDT Eclipse Compiler ecj-3.7.jar

https://issues.apache.org/bugzilla/show_bug.cgi?id=52458

             Bug #: 52458
           Summary: Bug in JDT Eclipse Compiler ecj-3.7.jar
           Product: Tomcat 7
           Version: 7.0.21
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: ojohann@abit.de
    Classification: Unclassified


since tomcat can use the internal ecj-3.7.jar compiler some huge JSPs with are
correct translated in a JAVA-File can“t translate in a class file.

see my bug report 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=368435

Olliver Johann

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 52458] Bug in JDT Eclipse Compiler ecj-3.7.jar

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

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2012-01-12 12:59:15 UTC ---
1. This compiler optimization code bug seems to be triggered by large Java
files.

There are (and will always be) certain size limitations in the language. While
this is not one of them, note that there are several options in JspServlet that
change what java code is generated for a JSP. One of them may help you.


2. You can replace ecj-3.7.jar with any other version of that jar file.
They all have the same API.

There is already ecj-3.7.1 available, 
http://download.eclipse.org/eclipse/downloads/eclipse3x.php
-> Latest Release -> 3.7.1 -> JDT Core Batch Compiler 

Though from the bug report it sounds like 3.7.1 would have the same problem.

Older versions of ecj.jar are available from the archives there or from earlier
Tomcat versions.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 52458] Bug in JDT Eclipse Compiler ecj-3.7.jar

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

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

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

--- Comment #2 from Mark Thomas <ma...@apache.org> 2012-01-12 13:46:42 UTC ---
Generally, we don't provide code workarounds for bugs in upstream components
unless we see reports of significant issues in Tomcat that can't easily be
worked around.

Thanks for bringing this to our attention. We will keep an eye on it and use
the suggested work-around if it becomes necessary but for now, I don't see
anything we need to do here.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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