fipro78 commented on issue #71:
URL: https://github.com/apache/felix-atomos/issues/71#issuecomment-1263292389

   Further investigation results:
   
   I added the following blocks to the reflect-config.json to make some things 
work:
   
   ```
     {
       "name" : "java.lang.Exception",
       "allDeclaredConstructors" : true,
       "allPublicConstructors" : true,
       "allDeclaredMethods" : true,
       "allPublicMethods" : true,
       "allDeclaredClasses" : true,
       "allPublicClasses" : true
     },
     {
       "name": "org.apache.felix.gogo.command.Basic",
       "allPublicConstructors": true,
       "allPublicMethods": true,
       "allDeclaredMethods": true,
       "allPublicFields": true,
       "allDeclaredFields": true,
       
"methods":[{"name":"resolve","parameterTypes":["org.osgi.framework.Bundle[]"] }]
     },
     {
       "name": "org.apache.felix.gogo.runtime.CommandProcessorImpl",
       "allPublicMethods": true,
       "allDeclaredMethods": true,
       "allPublicFields": true,
       "allDeclaredFields": true
     },
   ```
   
   This way the error with `addCommand` is gone and I am able to use the 
exception function in the Gogo shell. But the resolve method is still not 
working.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@felix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to