Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6586

Compilation of activemq-unit-test fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.4
    • 5.14.4
    • Test Cases
    • None

    Description

      Compilation of activemq-unit-tests in activemq-5.14.x branch fails with following error

      [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
      

      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.

      Attachments

        Issue Links

          Activity

            People

              cshannon Christopher L. Shannon
              sobkowiak Krzysztof Sobkowiak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: