You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2008/08/19 02:35:44 UTC

[jira] Updated: (NUTCH-645) Parse-swf unit test failing

     [ https://issues.apache.org/jira/browse/NUTCH-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrzej Bialecki  updated NUTCH-645:
------------------------------------

    Attachment: parse-swf.patch

This patch fixes the problem. The failure came from a different iteration order of HashSet.iterator() in Java 1.5 and Java 1.6. Action strings are collected without preserving their order, so this patch simply sorts the strings before adding them to the output. Test responses have been updated accordingly. Tests pass now.

> Parse-swf unit test failing
> ---------------------------
>
>                 Key: NUTCH-645
>                 URL: https://issues.apache.org/jira/browse/NUTCH-645
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.0
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 1.0.0
>
>         Attachments: parse-swf.patch
>
>
> Parse-swf unit tests fail under Java 1.6, but run successfuly under Java 1.5

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.