You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2016/09/12 12:17:20 UTC

[jira] [Updated] (ARIES-1574) Remove the reference to AutoCloseable in blueprint-core in order to maintain Java 1.6 compatibility.

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

Guillaume Nodet updated ARIES-1574:
-----------------------------------
    Fix Version/s: blueprint-core-1.7.0

> Remove the reference to AutoCloseable in blueprint-core in order to maintain Java 1.6 compatibility.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1574
>                 URL: https://issues.apache.org/jira/browse/ARIES-1574
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint
>            Reporter: John Ross
>            Assignee: John Ross
>             Fix For: blueprint-core-1.7.0
>
>
> The org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl has a private inner Loader class implementing the AutoCloseable interface introduced in 1.7. The only reference is within the createSchema method of the NamespaceHandlerRegistryImpl class where try-with-resources is not being used.
> We would like to replace AutoCloseable with Closeable in order to maintain compatibility with 1.6. We could make this change only in the java6support branch but desire to avoid divergence for as long as possible, until a compelling reason comes along.
> If we are we missing anything with regard to the apparent lack of necessity of AutoCloseable, please speak up.



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