You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Balazs Zsoldos (Commented) (JIRA)" <ji...@apache.org> on 2012/04/11 14:06:18 UTC

[jira] [Commented] (ARIES-299) ensure Aries compiles and runs on Java 5 and Java 6

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

Balazs Zsoldos commented on ARIES-299:
--------------------------------------

Hi,

are you sure it is necessary to be able to compile with java 5? Java 6 may compile code that runs on java 5. In case of java 5 the methods coming from java 6 are not used at runtime...

I think it is good if Aries can be compiled only with java 6 but runs well on java 5.

Regards,
Balazs
                
> ensure Aries compiles and runs on Java 5 and Java 6
> ---------------------------------------------------
>
>                 Key: ARIES-299
>                 URL: https://issues.apache.org/jira/browse/ARIES-299
>             Project: Aries
>          Issue Type: Bug
>    Affects Versions: 0.2
>            Reporter: Jeremy Hughes
>
> Right now:
> * util: BundleToClassLoaderAdapter needs java 6 libraries in order to compile
> * jndi: the ServiceRegistryContextTest class uses the Wrapper interface which isn't present in java 5
> * transaction: the java.sql.Connection interface introduced new methods using new classes in java 6 so ConnectionWrapper class can't be written to compile on both java 5 and java 6 libraries

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira