[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Resolved: (XMLBEANS-368) error usage of array copy function
From: "Radu Preotiuc-Pietro (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date: 2008-04-03 21:29:24
Message-ID: 1879365105.1207258164663.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/XMLBEANS-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Radu Preotiuc-Pietro resolved XMLBEANS-368.
-------------------------------------------
Resolution: Fixed
Fix Version/s: (was: unspecified)
Version 2.3.1
Thanks for the patch. It is in at revision 644516.
> error usage of array copy function in SOAPArrayType.java
> --------------------------------------------------------
>
> Key: XMLBEANS-368
> URL: https://issues.apache.org/jira/browse/XMLBEANS-368
> Project: XMLBeans
> Issue Type: Bug
> Components: Binding
> Affects Versions: unspecified
> Environment: ALL
> Reporter: Adam Lee
> Fix For: Version 2.3.1
>
>
> It's just a simple code error.
> Locate the following construct method in class \
> org.apache.xmlbeans.soap.SOAPArrayType: public SOAPArrayType(SOAPArrayType nested, \
> int[] dimensions) Here is one line of error code you can find:
> System.arraycopy(_ranks, 0, nested._ranks, 0, nested._ranks.length);
> The src and dest parameters used in array copy function are reverse, the correct \
> code should be: System.arraycopy(nested._ranks, 0, _ranks, 0, \
> nested._ranks.length);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic