Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to org.objenesis 3.x #1992

Closed
trancexpress opened this issue Aug 7, 2020 · 2 comments · Fixed by #1998
Closed

Update to org.objenesis 3.x #1992

trancexpress opened this issue Aug 7, 2020 · 2 comments · Fixed by #1998

Comments

@trancexpress
Copy link

trancexpress commented Aug 7, 2020

Hi all,

we are slowly updating our product to Java 11; we've managed to move to Java 11 runtime, now we are trying to also compile with Java 11.

We ran into a problem with org.easymock (it doesn't work with Java 11 compiled classes, easymock/easymock#218). The problem is resolved in 4.x versions.

Unfortunately, 4.x versions of org.easymock run only with org.objenesis 3.x, which mockito so far does not accept (upper bound for org.objenesis is 2.6).

Are there plans to update mockito to run with org.objenesis and if so are there known timelines?

Some more background:

We essentially wished to update to latest mockito and easymock earlier (during the Java 11 runtime move), but were unable to do so due to conflicting org.objenesis requirements. If we want to compile with Java 11 however, we are made to choose between easymock or mockito, or waiting. We would prefer to wait, if a mockito update that runs with org.objenesis 3.x would be available soon.

Sorry if this should be an e-mail message and not an issue in the tracker, or if this is a duplicate (I didn't find much about org.objenesis in the issue list).

Best regards and thanks,
Simeon

@TimvdLippe
Copy link
Contributor

I would be happy to review a PR that updates our version of Objenesis 😄

@trancexpress
Copy link
Author

I'll check the contribution guide, though I can't promise much. So far Java 11 compile is not top priority in my team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants