[
https://issues.apache.org/jira/browse/AMQ-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847468#comment-15847468
]
ASF subversion and git services commented on AMQ-6586:
------------------------------------------------------
Commit f09493727f95afce417414f2b27b58c429ed4d1e in activemq's branch
refs/heads/master from [~sobkowiak]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=f094937 ]
[AMQ-6586] Compilation of activemq-unit-test fails
(cherry picked from commit 659d1f6ba545dd283e80489425b616c75fee973d)
> 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
> Assignee: Christopher L. Shannon
> 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)