You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2008/01/02 15:26:34 UTC

[jira] Commented: (CLI-121) Tests fail under 1.6 + error at end that may or may not be related

    [ https://issues.apache.org/jira/browse/CLI-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555320#action_12555320 ] 

Sebb commented on CLI-121:
--------------------------

Perhaps use Commons Collections ListOrderedSet to get round the Java 1.4 restriction if required?

> Tests fail under 1.6 + error at end that may or may not be related
> ------------------------------------------------------------------
>
>                 Key: CLI-121
>                 URL: https://issues.apache.org/jira/browse/CLI-121
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-2.x
>         Environment: JDK 1.6
>            Reporter: Henri Yandell
>             Fix For: 2.0
>
>         Attachments: cli-121.diff
>
>
> Testsuite: org.apache.commons.cli2.bug.Bug27575Test
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.058 sec
> Testcase: testRequiredOptions(org.apache.commons.cli2.bug.Bug27575Test):        FAILED
> expected:<[-h]> but was:<-c <arg>>
> junit.framework.ComparisonFailure: expected:<[-h]> but was:<-c <arg>>
>         at org.apache.commons.cli2.bug.Bug27575Test.testRequiredOptions(Bug27575Test.java:36)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> and error at end of:
> Exception in thread "Thread-1" javax.xml.transform.TransformerFactoryConfigurationError: Provider for javax.xml.transform.TransformerFactory cannot be found
>         at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
>         at java.util.prefs.XmlSupport.writeDoc(XmlSupport.java:246)
>         at java.util.prefs.XmlSupport.exportMap(XmlSupport.java:333)
>         at java.util.prefs.FileSystemPreferences$8.run(FileSystemPreferences.java:607)

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