aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1574) Remove the reference to AutoCloseable in blueprint-core in order to maintain Java 1.6 compatibility.
Date Wed, 15 Jun 2016 19:10:09 GMT

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

Mime
View raw message