aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Ward <timothyjw...@apache.org>
Subject RE: svn commit: r1063302 - /aries/trunk/jpa/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/PersistenceDescriptorParserImpl.java
Date Tue, 25 Jan 2011 14:49:46 GMT

You really wouldn't think so many tests would break between SAX parser implementations...
IBM covered up my mistake quite happily!

Tim

----------------------------------------
> Subject: svn commit: r1063302 - /aries/trunk/jpa/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/PersistenceDescriptorParserImpl.java
> Date: Tue, 25 Jan 2011 14:35:27 +0000
> To: commits@aries.apache.org
> From: timothyjward@apache.org
>
> Author: timothyjward
> Date: Tue Jan 25 14:35:27 2011
> New Revision: 1063302
>
> URL: http://svn.apache.org/viewvc?rev=1063302&view=rev
> Log:
> ARIES-556: Fix up bug when expanding the reset array
>
> Modified:
> aries/trunk/jpa/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/PersistenceDescriptorParserImpl.java
>
> Modified: aries/trunk/jpa/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/PersistenceDescriptorParserImpl.java
> URL: http://svn.apache.org/viewvc/aries/trunk/jpa/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/PersistenceDescriptorParserImpl.java?rev=1063302&r1=1063301&r2=1063302&view=diff
> ==============================================================================
> --- aries/trunk/jpa/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/PersistenceDescriptorParserImpl.java
(original)
> +++ aries/trunk/jpa/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/PersistenceDescriptorParserImpl.java
Tue Jan 25 14:35:27 2011
> @@ -103,7 +103,7 @@ public class PersistenceDescriptorParser
> newLength += bufferGrowthSize;
> }
> bytes = new byte[newLength];
> - System.arraycopy(tmp, 0, bytes, 0, pos);
> + System.arraycopy(tmp, 0, bytes, 0, (maxRead >= pos) ? maxRead + 1 : pos);
> }
> }
>
>
>
 		 	   		  
Mime
View raw message