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

Henri Yandell updated LANG-314:
-------------------------------

    Attachment: Lang314-fix.patch

Fix for the two broken tests. No one else uses the public method in 
ClassUtilsTest, so it was deleted and a simpler method of creating a second 
classloader created.

> Tests fail to pass when building with Maven 2
> ---------------------------------------------
>
>                 Key: LANG-314
>                 URL: https://issues.apache.org/jira/browse/LANG-314
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>            Reporter: Henri Yandell
>             Fix For: 2.3
>
>         Attachments: Lang314-fix.patch
>
>
> Tests run: 75, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec 
> <<< FAILURE!
> testColorEnumEqualsWithDifferentClassLoaders(org.apache.commons.lang.enums.EnumTest)
>   Time elapsed: 0.001 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: ClassUtilsTest= [EMAIL PROTECTED] 
> [EMAIL PROTECTED]
>     at junit.framework.Assert.fail(Assert.java:47)
>     at 
> org.apache.commons.lang.ClassUtilsTest.newSystemClassLoader(ClassUtilsTest.java:522)
>     at 
> org.apache.commons.lang.enums.EnumTest.testWithDifferentClassLoaders(EnumTest.java:457)
>     at 
> org.apache.commons.lang.enums.EnumTest.testColorEnumEqualsWithDifferentClassLoaders(EnumTest.java:446)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to