commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLI-121) Tests fail under 1.6 + error at end that may or may not be related
Date Thu, 21 Feb 2008 08:04:43 GMT

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

Henri Yandell commented on CLI-121:
-----------------------------------

Committed:

svn ci -m "Applying Oliver Heger's patch for CLI-121, changing a HashSet to a LinkedHashSet
so we pass tests on JDK 1.6. This moves us to a JDK 1.4+ dependency, but I don't think that's
an issue. "
Sending        src/java/org/apache/commons/cli2/builder/PatternBuilder.java
Transmitting file data .
Committed revision 629710.

I don't have JDK 1.6 on this computer (Mac), so if someone could confirm it would be very
helpful.

> 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.


Mime
View raw message