You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2017/01/31 19:35:51 UTC
[jira] (AMQ-6586) Compilation of activemq-unit-test fails
Krzysztof Sobkowiak created AMQ-6586:
----------------------------------------
Summary: Compilation of activemq-unit-test fails
Key: AMQ-6586
URL: https://issues.apache.org/jira/browse/AMQ-6586
Project: ActiveMQ
Issue Type: Bug
Components: Test Cases
Affects Versions: 5.14.4
Reporter: Krzysztof Sobkowiak
Fix For: 5.14.4
Compilation of {{activemq-unit-tests}} in {{activemq-5.14.x}} branch fails with following error
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project activemq-unit-tests: Compilation failure
[ERROR] /home/kso/work/projects/asf/smx/workspace/activemq/activemq-unit-tests/src/test/java/org/apache/activemq/transport/tcp/TcpTransportCloseSocketTest.java:[128,24] local variable server is accessed from within inner class; needs to be declared final
{noformat}
The problem is caused by cherry pick from master where it worked due to source target 1.8, but {{activemq-5.14.x}} branch has source target 1.7 and the final keyword is still necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)