google / gwtmockito

Better GWT unit testing
https://google.github.io/gwtmockito
Apache License 2.0
157 stars 50 forks source link

IllegalAccessError when using GwtMockitoTestRunner #85

Open tazle opened 4 years ago

tazle commented 4 years ago

We tried to update to the latest gwtmockito (1.1.9), and after solving the missing parent module issue by publishing it ourselves to out private Maven repo, we ran into IllegalAccessErrors in tests run with GwtMockitoTestRunner.

Please see the reproduction here: https://github.com/tazle/gwtmockito/tree/illegalaccess-repro

The issue seems to be related to javassist version. Downgrading to 1.1.8 and javassist 3.22.0-GA makes the test pass. Staying with 1.1.8 gwtmockito and just upgrading javassist to 3.23.0-GA or 3.25.0-GA makes it fail.