I've attempted to fix this in Gump. I don't expect to have got it right
first time. We'll have to wait until the next Gump run (00.00 UTC) to
see how close I got.
Mark
On 22/10/2018 22:22, Mark Thomas wrote:
On 22/10/2018 09:19, Bill Barker wrote:
To whom it may engage...
<snip/>
test-compile:
[javac] Compiling 168 source files to
/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses
[javac]
/srv/gump/public/workspace/tomcat-7.0.x/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:43:
error: incompatible types: Object cannot be converted to Valve
[javac] valve.setNext(EasyMock.createMock(Valve.class));
<snip/>
This is the change the broke this:
https://github.com/easymock/easymock/issues/229
If the compiler compliance level is set to Java 7 or below, Java
can't/doesn't correctly infer the types so it assumes Object which
triggers the issues like the one above.
The fix is probably to configure Gump to use the latest EasyMock 3.x for
7.0.x and 8.5.x and continue to build EasyMock HEAD for use with 9.0.x.
I'll try and get to that tomorrow but I may not have time.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org