[
https://issues.apache.org/jira/browse/MINVOKER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958259#comment-17958259
]
Olivier Lamy commented on MINVOKER-68:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-invoker-plugin#355|https://github.com/apache/maven-invoker-plugin/issues/355].
> Enable accessibility for non-public members from BeanShell scripts
> ------------------------------------------------------------------
>
> Key: MINVOKER-68
> URL: https://issues.apache.org/jira/browse/MINVOKER-68
> Project: Maven Invoker Plugin (Moved to GitHub Issues)
> Issue Type: Improvement
> Affects Versions: 1.3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 1.4
>
>
> Accessing non-public fields/methods from BeanShell scripts currently requires
> one to invoke {{setAccessibility( true )}} at the start of the script. In
> contrast, this works out of the box for Groovy scripts. Furthermore, I doubt
> that anybody cares about accessibility during testing. So, for the sake of
> consistency with Groovy and the ease of testing, BeanShell's accessibility
> mode should be enabled, too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)