ASF Bugzilla – Attachment 27373 Details for
Bug 51535
NPOIFSFileSystem seems to parse row numbers as signed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch which seems to fix the issue
poi-51535.patch (text/plain), 1.17 KB, created by
Antoni Mylka
on 2011-08-11 10:46:15 UTC
(
hide
)
Description:
A patch which seems to fix the issue
Filename:
MIME Type:
Creator:
Antoni Mylka
Created:
2011-08-11 10:46:15 UTC
Size:
1.17 KB
patch
obsolete
>Index: src/java/org/apache/poi/poifs/filesystem/NDocumentInputStream.java >=================================================================== >--- src/java/org/apache/poi/poifs/filesystem/NDocumentInputStream.java (revision 1156562) >+++ src/java/org/apache/poi/poifs/filesystem/NDocumentInputStream.java (working copy) >@@ -291,7 +291,7 @@ > checkAvaliable(SIZE_SHORT); > byte[] data = new byte[SIZE_SHORT]; > readFully(data, 0, SIZE_SHORT); >- return LittleEndian.getShort(data); >+ return LittleEndian.getUShort(data); > } > > @Override >Index: src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java >=================================================================== >--- src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java (revision 1156562) >+++ src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java (working copy) >@@ -2146,7 +2146,7 @@ > /** > * Large row numbers > */ >- public void DISABLEDtest51535() throws Exception { >+ public void test51535() throws Exception { > byte[] data = HSSFITestDataProvider.instance.getTestDataFileContent("51535.xls"); > > HSSFWorkbook wbPOIFS = new HSSFWorkbook(new POIFSFileSystem(
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51535
:
27303
| 27373