{"action":"closed","issue":{"url":"https://api.github.com/repos/jankotek/mapdb/issues/295","labels_url":"https://api.github.com/repos/jankotek/mapdb/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/jankotek/mapdb/issues/295/comments","events_url":"https://api.github.com/repos/jankotek/mapdb/issues/295/events","html_url":"https://github.com/jankotek/mapdb/issues/295","id":28133502,"number":295,"title":"Android default constructor workaround broken from 4.2 onwards","user":{"login":"nadavwr","id":52190,"avatar_url":"https://avatars.githubusercontent.com/u/52190?v=3","gravatar_id":"","url":"https://api.github.com/users/nadavwr","html_url":"https://github.com/nadavwr","followers_url":"https://api.github.com/users/nadavwr/followers","following_url":"https://api.github.com/users/nadavwr/following{/other_user}","gists_url":"https://api.github.com/users/nadavwr/gists{/gist_id}","starred_url":"https://api.github.com/users/nadavwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadavwr/subscriptions","organizations_url":"https://api.github.com/users/nadavwr/orgs","repos_url":"https://api.github.com/users/nadavwr/repos","events_url":"https://api.github.com/users/nadavwr/events{/privacy}","received_events_url":"https://api.github.com/users/nadavwr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jankotek/mapdb/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-02-24T01:35:58Z","updated_at":"2015-08-12T12:49:07Z","closed_at":"2015-08-12T12:49:07Z","body":"See Objenesis [issue 23](https://code.google.com/p/objenesis/issues/detail?id=23): Davlik support broken for Android 4.2\r\n\r\n> The signature of ObjectStreamClass methods have changed in Android 4.2.  newInstance now takes a long instead of an int as the 2nd argument, and returns a long instead of an int from getConstructorId.  The VENDOR_VERSION used to identify the newer VM is 1.6.0.\r\n\r\n\r\nThis impacts code in [SerializerPojo.java:525](https://github.com/jankotek/MapDB/blob/970b748e50b939d1bede6ee9c670cf2896911bb8/src/main/java/org/mapdb/SerializerPojo.java#L525-L527), referenced here from latest commit at this time.\r\n\r\nPerhaps another 'androidConstructorJelly' can be added, in line with 'androidConstructorGinger'."}}