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 Russell (JIRA)" <ji...@apache.org> on 2007/10/06 01:40:50 UTC
[jira] Updated: (JDO-541) Change SignatureVerifier to check for
variable arguments
[ https://issues.apache.org/jira/browse/JDO-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Craig Russell updated JDO-541:
------------------------------
Attachment: jdo-541.patch
This patch is innocuous. When we add varargs to the API, we can update the signature file, e.g.
public varargs Object[] makePersistentAll(Object[] pcs);
The alternative would be to require this:
public Object[] makePersistentAll(Object... pcs);
which would involve significant changes.
> Change SignatureVerifier to check for variable arguments
> --------------------------------------------------------
>
> Key: JDO-541
> URL: https://issues.apache.org/jira/browse/JDO-541
> Project: JDO
> Issue Type: New Feature
> Components: tck2, tck2-legacy
> Affects Versions: JDO 2 final
> Reporter: Craig Russell
> Fix For: JDO 2 maintenance release 1
>
> Attachments: jdo-541.patch
>
>
> For variable arguments (e.g. Object[] makeTransientAll(Object... pcs)) the Method.getModifiers returns the TRANSIENT modifier.
> This change updates the SignatureVerifier to permit using "varargs" in the signature file to indicate that the method has variable arguments.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.