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

Hudson commented on SQOOP-1008:
-------------------------------

Integrated in Sqoop-ant-jdk-1.6-hadoop200 #625 (See 
[https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/625/])
    SQOOP-1008: Test TestClassWriter.testNoClassGeneration is failing on JDK7 
(Revision aa6813e36d3b35ecacbce914a163567b19dd03af)

     Result = FAILURE
kathleen : 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=aa6813e36d3b35ecacbce914a163567b19dd03af
Files : 
* src/test/com/cloudera/sqoop/orm/TestClassWriter.java

                
> Test TestClassWriter.testNoClassGeneration is failing on JDK7
> -------------------------------------------------------------
>
>                 Key: SQOOP-1008
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1008
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.3
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.4.4
>
>         Attachments: bugSQOOP-1008.patch
>
>
> Test {{TestClassWriter.testNoClassGeneration}} is failing when using JDK7:
> {code}
> Testcase: testNoClassGeneration took 0.016 sec
>       Caused an ERROR
> no source files
> java.lang.IllegalStateException: no source files
>       at com.sun.tools.javac.main.Main.error(Main.java:173)
>       at com.sun.tools.javac.main.Main.compile(Main.java:397)
>       at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
>       at 
> org.apache.sqoop.orm.CompilationManager.compile(CompilationManager.java:205)
>       at 
> com.cloudera.sqoop.orm.TestClassWriter.runFailedGenerationTest(TestClassWriter.java:514)
>       at 
> com.cloudera.sqoop.orm.TestClassWriter.testNoClassGeneration(TestClassWriter.java:541)
> {code}
> I think that this due to changed API as JDK6 seems to be throwing 
> {{IOException}} instead of {{IllegalStateException}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to