mariofusco opened a new pull request, #5691:
URL: https://github.com/apache/incubator-kie-drools/pull/5691

   @tkobayas This is only a rewritten and cleaned up version of the solution 
that you found [here](https://github.com/kiegroup/drools/pull/25).
   
   I dug into VFS sources a lot and couldn't find any better solution. I 
understand that using reflection is not ideal, but in the end we were already 
doing so, even if just because we didn't want a direct dependency on VFS. Now 
it's true that this is a bit worse than before because we're also accessing 
package private methods (that are probably subject to change in future), but 
other than asking the Jboss team to make those methods public, thus avoiding to 
use `setAccessible(true)`, I don't see any possible improvement.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to