[
https://issues.apache.org/jira/browse/ARIES-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15332443#comment-15332443
]
John Ross commented on ARIES-1574:
----------------------------------
The build that included these changes failed:
https://builds.apache.org/job/Aries-Trunk-JDK17/404/. However, they are the
same failures that started occurring in build 402. Looks like the published
2.0.4-SNAPSHOT version of JPA finally got deleted and the poms need to be
updated to reference 2.5.0-SNAPSHOT.
> 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)