[
https://issues.apache.org/jira/browse/BEANUTILS-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16159988#comment-16159988
]
Melloware commented on BEANUTILS-500:
-------------------------------------
After applying this patch to trunk I get 7 failing unit tests...
Failed tests:
Jira61TestCase.testIssue_BEANUTILS_61_PropertyUtils_getProperty_Mapped:360
mappedReadOnly Threw exception: java.lang.NoSuchMethodException: Unknown
property 'mappedReadOnly'+ on bean class 'class
org.apache.commons.beanutils.WrapDynaBean'
Jira61TestCase.testIssue_BEANUTILS_61_PropertyUtils_setProperty_Mapped:387
mappedReadOnly Threw exception: java.lang.NoSuchMethodException: Unknown
property 'mappedReadOnly' on bean class 'class
org.apache.commons.beanutils.WrapDynaBean'
MemoryLeakTestCase.testConvertUtilsBean_converters_memoryLeak:389
ConvertUtilsBean is holding a reference to the classLoader expected null, but
was:<java.net.FactoryURLClassLoader@1b0a7baf>
MemoryLeakTestCase.testLocaleConvertUtilsBean_converters_memoryLeak:437
LocaleConvertUtilsBean is holding a reference to the classLoader expected null,
but was:<java.net.FactoryURLClassLoader@33617539>
MemoryLeakTestCase.testPropertyUtilsBean_descriptorsCache_memoryLeak:91
PropertyUtilsBean is holding a reference to the classLoader expected null, but
was:<java.net.FactoryURLClassLoader@2ed3b1f5>
MemoryLeakTestCase.testPropertyUtilsBean_mappedDescriptorsCache_memoryLeak:144
PropertyUtilsBean is holding a reference to the classLoader expected null, but
was:<java.net.FactoryURLClassLoader@3af17be2>
MemoryLeakTestCase.testWrapDynaClass_dynaClasses_memoryLeak:341 WrapDynaClass
is holding a reference to the classLoader expected null, but
was:<java.net.FactoryURLClassLoader@18e7143f>
Tests run: 1291, Failures: 7, Errors: 0, Skipped: 3
> Upgrade commons-collections to 4
> --------------------------------
>
> Key: BEANUTILS-500
> URL: https://issues.apache.org/jira/browse/BEANUTILS-500
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: Bean / Property Utils
> Affects Versions: 2.0
> Reporter: Dave Brosius
> Priority: Minor
> Fix For: 2.0
>
> Attachments: BEANUTILS-500.txt
>
>
> uptake commons-collections4.
> The main difference is the removal of 'FastHashMap', and replacement with
> ConcurrentHashMap.
> There are a few breaking changes for deprecated methods that return a
> FastHashMap, that are exposed.
> I made them package private, and undeprecated them, thus 2.0
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)