sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-3083) Fault injection targets no longer work after SQOOP-2983
Date Fri, 16 Dec 2016 10:59:58 GMT

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

ASF subversion and git services commented on SQOOP-3083:
--------------------------------------------------------

Commit 7783f85f805d54f8377a438aebffb06593aec858 in sqoop's branch refs/heads/trunk from [~maugli]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=7783f85 ]

SQOOP-3083: Fixing fault injection targets to work
together with try with resources statements
(introduced in SQOOP-2983)

(Anna Szonyi via Attila Szabo)


> Fault injection targets no longer work after SQOOP-2983
> -------------------------------------------------------
>
>                 Key: SQOOP-3083
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3083
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Anna Szonyi
>            Assignee: Anna Szonyi
>         Attachments: SQOOP-3083-2.patch, SQOOP-3083.patch
>
>
> Fault injection target fails due to:
> compile-fault-inject:
>      [echo] Start weaving aspects in place
>      [iajc] OraOopTestCase.java:157 [error] Syntax error on token "(", { expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]     
>      [iajc] OraOopTestCase.java:157 [error] Syntax error on token ")", ; expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]                                             
>      [iajc] OraOopTestCase.java:161 [error] Syntax error, insert "}" to complete Block
>      [iajc]     }
>      [iajc] 
>      [iajc] OraOopTestCase.java:161 [error] Syntax error, insert "Finally" to complete
TryStatement
>      [iajc]     }
>      [iajc] 
>      [iajc] OraOopTypesTest.java:56 [error] Syntax error on token "(", { expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]     
>      [iajc] OraOopTypesTest.java:56 [error] Syntax error on token ")", ; expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]                                             
>      [iajc] OraOopTypesTest.java:78 [error] Syntax error on token "(", { expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]     
>      [iajc] OraOopTypesTest.java:78 [error] Duplicate local variable stmt
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]                
>      [iajc] OraOopTypesTest.java:78 [error] Syntax error on token ")", ; expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]                                             
>      [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "}" to complete Block
>      [iajc]     }
>      [iajc] 
>      [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "Finally" to complete
TryStatement
>      [iajc]     }
>      [iajc] 
>      [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "}" to complete Block
>      [iajc]     }
>      [iajc] 
>      [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "Finally" to complete
BlockStatements
>      [iajc]     }
>      [iajc] 
>      [iajc] OracleData.java:240 [error] Syntax error on token "(", { expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]     
>      [iajc] OracleData.java:240 [error] Syntax error on token ")", ; expected
>      [iajc] try (Statement stmt = conn.createStatement()) {
>      [iajc]                                             
>      [iajc] OracleData.java:243 [error] Syntax error, insert "}" to complete Block
>      [iajc]     }
>      [iajc] 
>      [iajc] OracleData.java:243 [error] Syntax error, insert "Finally" to complete BlockStatements
>      [iajc]     }
>      [iajc] 
>      [iajc] 
>      [iajc] 17 errors



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

Mime
View raw message