db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-541) Change SignatureVerifier to check for variable arguments
Date Fri, 05 Oct 2007 23:40:50 GMT

     [ 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,
    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.

View raw message