You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/16 23:58:00 UTC
[jira] [Work logged] (LANG-1692) Cast FieldUtils.readField result to the recipient type
[ https://issues.apache.org/jira/browse/LANG-1692?focusedWorklogId=809693&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-809693 ]
ASF GitHub Bot logged work on LANG-1692:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Sep/22 23:57
Start Date: 16/Sep/22 23:57
Worklog Time Spent: 10m
Work Description: tisonkun opened a new pull request, #951:
URL: https://github.com/apache/commons-lang/pull/951
This patch should be easy to understand.
Generally, it won't affect user cases as long as the type can be inferred by the recipient or JDK rules. There's a case as shown in `ReflectionDiffBuilder.java` that if the type inference results in ambiguity, it may cause compile error.
Thus, I'm unsure whether this is proper to be included with a minor version bump. I don't think to add another series of methods helps - it causes further confusion.
Issue Time Tracking
-------------------
Worklog Id: (was: 809693)
Remaining Estimate: 0h
Time Spent: 10m
> Cast FieldUtils.readField result to the recipient type
> ------------------------------------------------------
>
> Key: LANG-1692
> URL: https://issues.apache.org/jira/browse/LANG-1692
> Project: Commons Lang
> Issue Type: Task
> Components: lang.reflect.*
> Reporter: Zili Chen
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)