db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-607) Require no-args constructor for PMF implementations and add static methods to PMF interface
Date Sun, 14 Sep 2008 19:45:44 GMT

    [ https://issues.apache.org/jira/browse/JDO-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630907#action_12630907
] 

Andy Jefferson commented on JDO-607:
------------------------------------

Language spec. I'd guess at something like 8.4.8.2
http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.4
"A compile-time error occurs if a static method hides an instance method."



> Require no-args constructor for PMF implementations and add static methods to PMF interface
> -------------------------------------------------------------------------------------------
>
>                 Key: JDO-607
>                 URL: https://issues.apache.org/jira/browse/JDO-607
>             Project: JDO
>          Issue Type: New Feature
>          Components: api2
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Craig Russell
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 2
>
>         Attachments: jdo-607.patch, jdo-607.patch
>
>
> In order to use Java 6 ServiceLoader to instantiate PMF, the class needs to implement
a no-args constructor, and the PMF interface needs to define the methods that are currently
static (and therefore not defined in the interface). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message