Johan Haleby

Results 281 comments of Johan Haleby

_From [[email protected]](https://code.google.com/u/105676376875942041029/) on April 10, 2011 05:49:18_ **Labels:** -Milestone-Release1.5 Milestone-Release1.6

_From [[email protected]](https://code.google.com/u/100394819133552226844/) on April 17, 2011 22:40:19_ I forgot to mention that it works if I turn MyInterface into a class.

_From [[email protected]](https://code.google.com/u/105676376875942041029/) on April 18, 2011 00:46:30_ Yup removal of final for static final fields on happens for classes. We can try to implement this for interfaces as well. **Status:**...

_From [[email protected]](https://code.google.com/u/106993804961547904027/) on May 08, 2012 20:51:25_ I ran into a similar problem today: this seems to fix the problem for me: static void setFinalStatic(Field field, Object newValue) throws Exception...

_From [[email protected]](https://code.google.com/u/117701616875356632192/) on February 08, 2013 11:31:34_ I just ran into this issue for a class that contains a final attribute. So this seems to be an issue with not...

_From [[email protected]](https://code.google.com/u/104196766843401459917/) on July 29, 2014 14:27:08_ I also can confirm that WhiteBox.setInternalState does not work with class with a final field.

_From [[email protected]](https://code.google.com/u/105676376875942041029/) on March 20, 2014 23:13:39_ PowerMock has never supported deep stub calls if I can remember it correctly. Please help out by providing a patch. **Status:** Accepted

_From [[email protected]](https://code.google.com/u/[email protected]/) on August 27, 2014 05:12:18_ I also ran now into this problem. Very annoying as one except it to work similar to Mockito. Good to have this issue...

_From [[email protected]](https://code.google.com/u/[email protected]/) on December 05, 2014 01:19:42_ Yeah, I found my own comment again by googling this issue, wonderful ... I still would love to see this fixed :(

_From [[email protected]](https://code.google.com/u/116739628974753029977/) on March 10, 2015 01:00:48_ Dear PowerMock-Devs, what must be done to get RETURN_DEEP_STUBS working? I and maybe other's want to send you pull requests with a fix....