You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2015/03/03 20:54:59 UTC

Tests compilation failed (Was: [GUMP@vmgump]: Project tomcat-tc8.0.x-test-nio2 (in module tomcat-8.0.x) failed)

2015-03-03 22:31 GMT+03:00 Bill Barker <bi...@apache.org>:
> To whom it may engage...
>
>
> Full details are available at:
>     http://vmgump.apache.org/gump/public/tomcat-8.0.x/tomcat-tc8.0.x-test-nio2/index.html


Tests failed to compile. Apparently  "final" modifier is needed.

> test-compile:
>     [javac] Compiling 170 source files to /srv/gump/public/workspace/tomcat-8.0.x/output/testclasses
>     [javac] /srv/gump/public/workspace/tomcat-8.0.x/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java:754: error: local variable resp is accessed from within inner class; needs to be declared final
>     [javac]                     resp.setContentType("text/plain");
>     [javac]                     ^
>     [javac] /srv/gump/public/workspace/tomcat-8.0.x/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java:755: error: local variable resp is accessed from within inner class; needs to be declared final
>     [javac]                     resp.setCharacterEncoding("UTF-8");
>     [javac]                     ^
>     [javac] /srv/gump/public/workspace/tomcat-8.0.x/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java:757: error: local variable resp is accessed from within inner class; needs to be declared final
>     [javac]                         resp.getWriter().print("OK");
>     [javac]                         ^
>     [javac] /srv/gump/public/workspace/tomcat-8.0.x/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java:761: error: local variable ac is accessed from within inner class; needs to be declared final
>     [javac]                     ac.complete();
>     [javac]                     ^
>     [javac] 4 errors
>
> BUILD FAILED
> /srv/gump/public/workspace/tomcat-8.0.x/build.xml:1327: Compile failed; see the compiler error output for details.
>
> Total time: 33 seconds
> ---------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org