sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2171) Sqoop2: Incorrect basic type boxing with JDK1.7
Date Thu, 05 Mar 2015 10:29:38 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14348541#comment-14348541
] 

Hudson commented on SQOOP-2171:
-------------------------------

SUCCESS: Integrated in Sqoop2-hadoop200 #774 (See [https://builds.apache.org/job/Sqoop2-hadoop200/774/])
SQOOP-2171: Sqoop2: Incorrect basic type boxing with JDK1.7 (abe: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b835c69a6e6f01dfe1fd054806c5498966599cb3)
* test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java


> Sqoop2: Incorrect basic type boxing with JDK1.7
> -----------------------------------------------
>
>                 Key: SQOOP-2171
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2171
>             Project: Sqoop
>          Issue Type: Bug
>          Components: sqoop2-test
>    Affects Versions: 1.99.5
>            Reporter: Syed A. Hashmi
>            Assignee: Syed A. Hashmi
>             Fix For: 1.99.6
>
>         Attachments: sqoop-2171.patch, sqoop-2171_2.patch
>
>
> After commit: https://github.com/apache/sqoop/commit/3ba01bcf8320c5d8b4a9c6085b3bdf9afd9bf70d
> build is broken on JDK7 at: 
> {code}
> [ERROR] /test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/AllTypesTest.java:[70,6]
error: reference to insertRow is ambiguous, both method insertRow(Object...) in ConnectorTestCase
and method insertRow(boolean,Object...) in ConnectorTestCase match
> [ERROR] /test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/AllTypesTest.java:[143,6]
error: reference to assertRow is ambiguous, both method assertRow(Object[],Object...) in ConnectorTestCase
and method assertRow(Object[],boolean,Object...) in ConnectorTestCase match
> {code}
> Apparently JDK7 is boxing basic type value (false) to Boolean and confusing the two methods
available insertRows methods in ConnectorTestCase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message