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
Milestone

Comments

@KryniuPL
Copy link

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 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

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

@burkti
Copy link

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

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

@ijuma
Copy link
Contributor

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 commented Sep 17, 2018

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

@KryniuPL
Copy link
Author

KryniuPL commented Sep 18, 2018

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

@henri-tremblay
Copy link
Contributor

Objenesis will also be released. And then EasyMock

@ijuma
Copy link
Contributor

ijuma commented Sep 25, 2018

FYI, Java 11 has been released https://mail.openjdk.java.net/pipermail/announce/2018-September/000257.html

@davidkarlsen
Copy link

All set for release?

@henri-tremblay
Copy link
Contributor

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.

@ghost
Copy link

ghost commented Oct 2, 2018

@henri-tremblay this is a good news 👍

@ijuma
Copy link
Contributor

ijuma commented Oct 10, 2018

Seems like we're close :) d1b032c

@ghost
Copy link

ghost commented Oct 11, 2018

Seems like we're close :) d1b032c

Yes, but still use JDK internal API :)

@henri-tremblay
Copy link
Contributor

@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 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

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
Development

No branches or pull requests

6 participants