Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CheckIn: Fix a bug in Report Document.

- Summary:
Fix a bug in report document.


- Bugzilla Bug (s) Resolved:
None


- Description:
When report document is reading bytes from file in method RDLoader.getSeperator(InputStream), it uses method InputStream.read(byte[]). The nature of InputStream causes, in rare cases, the byte array cannot be completely populate, even if the stream is not finished yet.

 

We add some codes to this method so that the full byte array will be populated.


- Tests Description:
Junit Test


- Files Edited:
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDLoad.java"

"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/impl/rd/ReportDocumentTest.java"


- Files Added:

 

- Notes to Build Team:
N/A


- Notes to Developers:
N/A


- Notes to QA: 
 

N/A

 

- Notes to Documentation:  
N/A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Back to the top