You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/15 19:10:09 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15332341#comment-15332341 ]
ASF subversion and git services commented on ARIES-1574:
--------------------------------------------------------
Commit 1748619 from [~jwross@us.ibm.com] in branch 'aries/trunk'
[ https://svn.apache.org/r1748619 ]
[ARIES-1574] Remove the reference to AutoCloseable in blueprint-core in order to maintain Java 1.6 compatibility.
> 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
>
> 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)