Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-935

drop Java 6 support and move to targetting Java 7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: proton-0.10
    • Fix Version/s: proton-0.10
    • Component/s: proton-j
    • Labels:
      None

      Description

      The build is currently failing in CI following recent changes for PROTON-881, because it no longer compiles on Java 6 which is the current compiler source/target for proton-j.

      We need to either decide to drop Java 6 support at long last (Java 7 already being EOL), or update it to actually compile.

      [ERROR] /home/jenkins/jenkins-slave/workspace/Qpid-proton-j/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/AcceptorImpl.java:[95,11] cannot find symbol
      symbol  : method bind(java.net.InetSocketAddress)
      location: class java.nio.channels.ServerSocketChannel
      [ERROR] /home/jenkins/jenkins-slave/workspace/Qpid-proton-j/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/AcceptorImpl.java:[125,38] cannot find symbol
      symbol  : method getLocalAddress()
      location: class java.nio.channels.ServerSocketChannel
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robbie Robbie Gemmell
                Reporter:
                robbie Robbie Gemmell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: