[
https://issues.apache.org/jira/browse/KARAF-5093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152260#comment-16152260
]
Guillaume Nodet commented on KARAF-5093:
----------------------------------------
The conversion from Token to String is done at the following location:
https://github.com/apache/karaf/blob/master/shell/core/src/main/java/org/apache/karaf/shell/impl/console/osgi/secured/SecuredCommand.java#L83
You need to provide a way to reproduce the problem.
> Options parsing broken
> ----------------------
>
> Key: KARAF-5093
> URL: https://issues.apache.org/jira/browse/KARAF-5093
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.1.1
> Environment: custom embedded
> Reporter: Moritz Bechler
> Assignee: Guillaume Nodet
> Priority: Critical
>
> Option parsing seems to generally fail starting with 4.1.1 (looks like this
> was broken by the gogo update, best guess would be changes for FELIX-5486) as
> gogo's Closure no longer provides Strings but Token objects as arguments and
> option parsing in DefaultActionPreparator checks for String.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)