John Ross created ARIES-1574:
--------------------------------

             Summary: 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)

Reply via email to