You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig L Russell (Updated) (JIRA)" <ji...@apache.org> on 2012/01/16 23:11:39 UTC
[jira] [Updated] (JDO-556) JDOHelper should use Java 6
ServiceLoader if available
[ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Craig L Russell updated JDO-556:
--------------------------------
Attachment: pmfservice.patch
Please review this patch.
This patch implements the proposed PersistenceManagerFactoryService change.
The JDOHelper class already implemented the Java 6 services technique but it was flawed due to the name of the services interface.
> JDOHelper should use Java 6 ServiceLoader if available
> ------------------------------------------------------
>
> Key: JDO-556
> URL: https://issues.apache.org/jira/browse/JDO-556
> Project: JDO
> Issue Type: Improvement
> Components: api
> Affects Versions: JDO 2 maintenance release 1 (2.1)
> Reporter: Matthew T. Adams
> Assignee: Craig L Russell
> Attachments: pmfservice.patch
>
>
> If the Java 6 class java.util.ServiceLoader<S> is found, it should be used for META-INF/services/javax.jdo.PersistenceManagerFactory lookup.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira