You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2023/03/07 09:34:00 UTC
[jira] [Resolved] (FELIX-6597) IllegalAccess when using reflection on public methods
[ https://issues.apache.org/jira/browse/FELIX-6597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-6597.
------------------------------------
Fix Version/s: gogo.runtime-1.1.6
Resolution: Fixed
> IllegalAccess when using reflection on public methods
> -----------------------------------------------------
>
> Key: FELIX-6597
> URL: https://issues.apache.org/jira/browse/FELIX-6597
> Project: Felix
> Issue Type: Bug
> Components: Gogo Runtime
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: gogo.runtime-1.1.6
>
>
> When using reflection to invoke a method on an object, the {{Reflective}} object only considers the method on the class. If the class is a non public class (such as a private implementation of a public interface), the new access rules make it impossible to use.
> The proposal is to go through methods of public interfaces / classes first.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)