[
https://issues.apache.org/jira/browse/AMQ-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847379#comment-15847379
]
ASF GitHub Bot commented on AMQ-6586:
-------------------------------------
GitHub user sobkowiak opened a pull request:
https://github.com/apache/activemq/pull/225
[AMQ-6586] Compilation of activemq-unit-test fails
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sobkowiak/activemq AMQ-6586
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/225.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #225
----
commit 659d1f6ba545dd283e80489425b616c75fee973d
Author: Krzysztof Sobkowiak <[email protected]>
Date: 2017-01-31T19:36:13Z
[AMQ-6586] Compilation of activemq-unit-test fails
----
> 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)