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

Broken JDK7 compatibility #43

Closed
monosoul opened this issue Mar 12, 2018 · 7 comments
Closed

Broken JDK7 compatibility #43

monosoul opened this issue Mar 12, 2018 · 7 comments

Comments

@monosoul
Copy link
Contributor

Mockk 1.7.9 (and all other versions I guess) is currently unable to run under JDK7 due to forEach lambda in JvmAutoHinter for example.

@monosoul
Copy link
Contributor Author

@oleksiyp if you don't mind I'd be glad to dig deeper into that problem.

@oleksiyp
Copy link
Collaborator

Very welcome

monosoul added a commit to monosoul/mockk that referenced this issue Mar 13, 2018
monosoul added a commit to monosoul/mockk that referenced this issue Mar 13, 2018
oleksiyp pushed a commit that referenced this issue Mar 13, 2018
* #43: use lambda with decomposed map entry

* #43: in Java varArg is always a last element of array of arguments

* #43: move Method.varArgPosition() out of JvmMockFactoryHelper

* #43: introduce simple test for varArgPosition()
@monosoul
Copy link
Contributor Author

@oleksiyp Hey, thanks for merging! 😄 Is there any chance of releasing new version anytime soon?

@oleksiyp
Copy link
Collaborator

Most probable it will happen today in the evening

@monosoul
Copy link
Contributor Author

Nice, thank you!

@oleksiyp
Copy link
Collaborator

Version 1.7.11 released. It would take half an hour to sync central repo. (to track press Ctrl+F5 here http://repo1.maven.org/maven2/io/mockk/mockk/ ). Try this version please and close the ticket if it suits your needs. Thanks!

@monosoul
Copy link
Contributor Author

Everything is working as expected now. Thanks!

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

No branches or pull requests

2 participants