Can you provide the exception and a small test case? If autoboxing/unboxing isn't working it's something we should fix.
I put together a test case to show this. I have two projects. Foo and Bar. Foo invokes Bar over sca binding. bar has a method that returns boolean (and others). Bar is mocked in the test using mock similar to shown above. When bar returns boolean is invoked, exception is thrown as shown in the test. When bar returns Boolean, exception is not thrown.
git clone https://github.com/mlybarger/bar.git
git clone https://github.com/mlybarger/foo.git
cd bar && mvn install && cd ..
cd foo && mvn test
Please inspect the failing FooBeanTest in from the project above. Maybe I should create an issue in jira. I tried with sy 2.0.0-Final too and it fails there also.