Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-706

Sqoop won't compile on Java 7 due to new methods in ResultSet interface

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.4.3
    • Component/s: None
    • Labels:
      None

      Description

      Java 7 seems to be adding new methods to interface ResultSet that we're implementing in our tests. Because we're not implementing newly introduced methods, compilation on Java 7 is failing.

      1. SQOOP-706.patch
        0.9 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          cheolsoo Cheolsoo Park added a comment -

          +1.

          Feel free to commit.

          Show
          cheolsoo Cheolsoo Park added a comment - +1. Feel free to commit.
          Hide
          jarcec Jarek Jarcec Cecho added a comment -

          Hi Cheolsoo,
          thank you very much for your review. Unfortunately based on my understanding of (unwritten) Sqoop policies I can't commit my own code. Would you mind commiting it?

          jarcec

          Show
          jarcec Jarek Jarcec Cecho added a comment - Hi Cheolsoo, thank you very much for your review. Unfortunately based on my understanding of (unwritten) Sqoop policies I can't commit my own code. Would you mind commiting it? jarcec
          Hide
          cheolsoo Cheolsoo Park added a comment -

          Committed to trunk. Thanks Jarcec!

          Show
          cheolsoo Cheolsoo Park added a comment - Committed to trunk. Thanks Jarcec!
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #333 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/333/)
          SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c
          Files :

          • src/test/com/cloudera/sqoop/testutil/MockResultSet.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #333 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/333/ ) SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c Files : src/test/com/cloudera/sqoop/testutil/MockResultSet.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #321 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/321/)
          SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c
          Files :

          • src/test/com/cloudera/sqoop/testutil/MockResultSet.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #321 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/321/ ) SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c Files : src/test/com/cloudera/sqoop/testutil/MockResultSet.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #336 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/336/)
          SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c
          Files :

          • src/test/com/cloudera/sqoop/testutil/MockResultSet.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #336 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/336/ ) SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c Files : src/test/com/cloudera/sqoop/testutil/MockResultSet.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #498 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/498/)
          SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c
          Files :

          • src/test/com/cloudera/sqoop/testutil/MockResultSet.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #498 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/498/ ) SQOOP-706 Sqoop won't compile on Java 7 due to new methods in ResultSet (Revision b666fe1bb6ad37d298838afa5f4436f42d575e9c) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b666fe1bb6ad37d298838afa5f4436f42d575e9c Files : src/test/com/cloudera/sqoop/testutil/MockResultSet.java

            People

            • Assignee:
              jarcec Jarek Jarcec Cecho
              Reporter:
              jarcec Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development