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

Attila Szabo commented on SQOOP-3083:
-------------------------------------

Hi [~szonyi],

Thanks for spotting this, and for your contribution!

[~maugli]

> 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)

Reply via email to