You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/04/22 18:44:16 UTC
[jira] [Comment Edited] (PDFBOX-1977) LZWFilter fails
[ https://issues.apache.org/jira/browse/PDFBOX-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974106#comment-13974106 ]
Tilman Hausherr edited comment on PDFBOX-1977 at 4/22/14 4:43 PM:
------------------------------------------------------------------
Changed the title and set to resolve because we're wrapping up. The LZW bug has been fixed. I will open a new issue re: better tests. (Update: see PDFBOX-2034 and PDFBOX-2036)
was (Author: tilman):
Changed the title and set to resolve because we're wrapping up. The LZW bug has been fixed. I will open a new issue re: better tests.
> LZWFilter fails
> ---------------
>
> Key: PDFBOX-1977
> URL: https://issues.apache.org/jira/browse/PDFBOX-1977
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.5, 2.0.0
> Reporter: John Hewson
> Assignee: Tilman Hausherr
> Labels: LZW
> Fix For: 1.8.5, 2.0.0
>
>
> TestFilters uses Random().nextLong() to generate a seed for random data, which means that it is non-determinate. Depending on the seed value, the test may fail or succeed.
> Using the following seed results in the LZW filter failing:
> final long seed = -6257105096642706464L;
--
This message was sent by Atlassian JIRA
(v6.2#6252)