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

            Bug ID: 62366
           Summary: Enable use of tomcat 9 for precompiling jsp files
                    (jspc-compiler-tomcat8)
           Product: Tomcat 9
           Version: 9.0.8
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: pavelcibu...@gmail.com
  Target Milestone: -----

In 45931 function setTrimSpaces(boolean trimSpaces) has been replaced with
setTrimSpaces(TrimSpacesOption trimSpaces). This breaks org.jasig.mojo.jspc
jspc-compiler-tomcat8 maven plugin. This plugin is used for precompiling jsp
files. It would be nice, if this plugin would work with Tomcat 9.

It can be fixed be returning this function:

    public void setTrimSpaces(boolean trimSpaces) {
        if (trimSpaces) {
            setTrimSpaces(TrimSpacesOption.TRUE);
        } else {
            setTrimSpaces(TrimSpacesOption.FALSE);
        }
    }

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

Reply via email to