You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2025/01/07 14:07:01 UTC
[jira] [Updated] (BEANUTILS-399) MappedMethodReference does not reconstruct method the same way MappedPropertyDescriptor does
[ https://issues.apache.org/jira/browse/BEANUTILS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated BEANUTILS-399:
--------------------------------------
Fix Version/s: 2.0.0-M2
(was: 2.0.0-M1)
> MappedMethodReference does not reconstruct method the same way MappedPropertyDescriptor does
> --------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-399
> URL: https://issues.apache.org/jira/browse/BEANUTILS-399
> Project: Commons BeanUtils
> Issue Type: Bug
> Components: Bean / Property Utils
> Affects Versions: 1.8.3
> Environment: OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
> Reporter: Oliver Sauder
> Priority: Critical
> Fix For: 2.0.0-M2
>
> Attachments: fix-reconstruction-of-lost-method-with-test.patch
>
>
> In case the MappedMethodReference has lost its reference due to garbage collection the reconstruction only works for methods which have the exact parameter types. In other cases a RuntimeException is thrown.
> However when MappedPropertyDescriptor creates such a MappedMethodReference it also finds methods which are compatible for given types.
> Marking critical as under high load this bug can occur and stop the system from working as expected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)