You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2013/05/14 19:49:16 UTC

[jira] [Updated] (OOZIE-1373) Oozie compilation fails with jdk7

     [ https://issues.apache.org/jira/browse/OOZIE-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated OOZIE-1373:
--------------------------------------

    Attachment: enabling-jdk7-build-support.patch

attached is a patch that enabled JDK1.7 for compilation and bytecode generation, updated building doc page as well.

What is missing is to add the missing JDBC methods in the fake connection, when doing so please don't use @Override annotation so the compilation does not fail with jdk 1.6
                
> Oozie compilation fails with jdk7
> ---------------------------------
>
>                 Key: OOZIE-1373
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1373
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Rohini Palaniswamy
>         Attachments: enabling-jdk7-build-support.patch
>
>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project oozie-tools: Compilation failure: Compilation failure:
> [ERROR] /projects/apache/trunk/oozie/tools/src/test/java/org/apache/oozie/tools/FakeDriver.java:[27,7] error: FakeDriver is not abstract and does not override abstract method getParentLogger() in Driver
> [ERROR] /projects/apache/trunk/oozie/tools/src/test/java/org/apache/oozie/tools/FakeConnection.java:[53,7] error: FakeConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection
> [ERROR] /projects/apache/trunk/oozie/tools/src/test/java/org/apache/oozie/tools/FakeConnection.java:[330,19] error: FakeResultSet is not abstract and does not override abstract method <T>getObject(String,Class<T>) in ResultSet

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