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

Android N : standard android instantiators don't work. #37

Closed
narayank opened this issue Apr 18, 2016 · 2 comments
Closed

Android N : standard android instantiators don't work. #37

narayank opened this issue Apr 18, 2016 · 2 comments
Assignees
Milestone

Comments

@narayank
Copy link

The private ObjectStreamClass APIs that objensis depends on don't exist any longer. Please use sun.misc.unsafe.allocateInstance on Android N and above.

That method has the same semantics as the JNI AllocObject method (object constructors aren't run).

@henri-tremblay henri-tremblay self-assigned this Apr 19, 2016
@henri-tremblay henri-tremblay added this to the 2.3 milestone Apr 19, 2016
@henri-tremblay
Copy link
Contributor

Thanks for telling me. I will do the modification ASAP.

@henri-tremblay
Copy link
Contributor

Fixed using #38

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

2 participants