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

Java 11 Compatibility check: EasyMock #224

Closed
KryniuPL opened this issue Aug 16, 2018 · 17 comments
Closed

Java 11 Compatibility check: EasyMock #224

KryniuPL opened this issue Aug 16, 2018 · 17 comments
Assignees
Labels
Milestone

Comments

@KryniuPL
Copy link

@KryniuPL KryniuPL commented Aug 16, 2018

Hi,
We are reaching out to you to check Java 11 compatibility of the library EasyMock.

Could you help us by answering the following questions:

  1. Library Name:
  2. Latest version: <latest 1.1.1="" eg:="" version.="">
  3. Latest version Is the library compatible with Java 11 Compatible? (Y/N)
  4. Is the library supported with Java 11? (Y/N)
  5. (If “N” in compatibility or support) What is the versions that would be compatible and Supported?
  6. Date of support availability?

Appreciate your response by 19.08.2018.

Thanks,
Krzysztof Dragan,
PTC Inc. Contractor

@ijuma
Copy link
Contributor

@ijuma ijuma commented Aug 18, 2018

I'm just a user, but EasyMock has partial support for Java 11 in master. For full support, it needs a cglib release with the following:

cglib/cglib#131

Then users can set the appropriate property to be able to mock classes with Java 11 bytecode.

@henri-tremblay
Copy link
Contributor

@henri-tremblay henri-tremblay commented Aug 20, 2018

Thanks @ijuma. I will try to release this will to fix this (finally might have some time).

@burkti
Copy link

@burkti burkti commented Sep 5, 2018

Hi all, is there any schedule available when an EasyMock release for Java 11 will be available? Thank you!

@henri-tremblay
Copy link
Contributor

@henri-tremblay henri-tremblay commented Sep 6, 2018

September. I am currently underwater but should get out in about a week.

@ijuma
Copy link
Contributor

@ijuma ijuma commented Sep 10, 2018

If we merge #225, then we can release a new version of EasyMock that works with Java 11.

@ijuma
Copy link
Contributor

@ijuma ijuma commented Sep 17, 2018

@henri-tremblay Are we any closer here? :)

@KryniuPL
Copy link
Author

@KryniuPL KryniuPL commented Sep 18, 2018

Can anyone comment on dependencies of objenesis library in new version of EasyMock?

@henri-tremblay
Copy link
Contributor

@henri-tremblay henri-tremblay commented Sep 18, 2018

Objenesis will also be released. And then EasyMock

@ijuma
Copy link
Contributor

@ijuma ijuma commented Sep 25, 2018

@davidkarlsen
Copy link

@davidkarlsen davidkarlsen commented Sep 29, 2018

All set for release?

@henri-tremblay
Copy link
Contributor

@henri-tremblay henri-tremblay commented Oct 1, 2018

No. To give you a heads up, I need to fix the usage of Unsafe.defineClass in Objenesis. It is a known problem already fixed in other frameworks. So it won't take long. When I'm done, I will deliver it and then deliver EasyMock.

@przemekwolski8
Copy link

@przemekwolski8 przemekwolski8 commented Oct 2, 2018

@henri-tremblay this is a good news 👍

@ijuma
Copy link
Contributor

@ijuma ijuma commented Oct 10, 2018

Seems like we're close :) d1b032c

@przemekwolski8
Copy link

@przemekwolski8 przemekwolski8 commented Oct 11, 2018

Seems like we're close :) d1b032c

Yes, but still use JDK internal API :)

@henri-tremblay
Copy link
Contributor

@henri-tremblay henri-tremblay commented Oct 11, 2018

@przemekwolski8 Yes. Since 2003. You can't do magical things without it. Unless they add Unsafe.allocateInstance to the JDK. I'm all for it.

@xvrl
Copy link

@xvrl xvrl commented Oct 17, 2018

@henri-tremblay should we still expect a 3.7 release with jdk11 support? I see you bumped master to 4.0

@henri-tremblay
Copy link
Contributor

@henri-tremblay henri-tremblay commented Oct 17, 2018

No. It will be 4.0. Not much changes though. So no need to worry I think. I'm just dropping > 1.8 support. Since Objenesis also dropped it. I hope it's not a problem for you.

@henri-tremblay henri-tremblay added this to the 4.0 milestone Oct 27, 2018
@henri-tremblay henri-tremblay self-assigned this Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.