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/01 07:08:00 UTC
[jira] [Created] (FELIX-6597) IllegalAccess when using reflection on public methods
Guillaume Nodet created FELIX-6597:
--------------------------------------
Summary: 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
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)