Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
gogo.runtime-0.10.0
-
None
Description
Currently we wrap the CommandProcessor and CommandShell in karaf to simply add the resolution of system properties.
See org.apache.karaf.shell.console.impl.jline.Activator in the karaf console module.
In the innermost code it is only the following we override in CommandSessionImpl.
public Object get(String name) {
Object val = super.get(name);
if (val == null)
return val;
}
So I propose to add this system property resolution to gogo. This would allow us to remove all the wrapping code in karaf.
If you are interested I can provide a patch.