Commit Graph

10 Commits

Author SHA1 Message Date
Mathieu Virbel ce3572ba79 fixes hashCode overflow. (disclamer: i wont talk about collision probabiliity or whatever. In my point of view, it seems very low, as the id() is based on the address of the object, it except if you uses tons of memory, you wont get it. And whatever the changes are, this will never keep up safe from colliding with others java object.). Closes #146 2015-03-02 11:22:05 +01:00
Mathieu Virbel f5b555d3d2 Add specific case for Android/libART: it crash if we check NativeInvocationHandler/InvocationHandler with isAssignableFrom. Plus, include some defaults methods implementation of java.lang.Object (hashCode, toString, equals), which is used by ART. Closes #92. Closes #113. 2014-07-31 13:49:25 +02:00
Mathieu Virbel e3a2965810 bump to 1.1-dev 2012-08-20 18:48:22 +02:00
Mathieu Virbel f9c63fd186 set version to 1.0 2012-08-20 18:47:44 +02:00
Mathieu Virbel 60ee14ed6f add the previous tests from python-for-android/javawrapper branch.
+ fix findclass (need cleaning)
+ fix array return with chars
+ export reflect module by default (it's already used in jnius so..)
2012-08-18 12:59:15 +02:00
Mathieu Virbel 774fc295e9 add cast(classname, obj) method to be able to use an instance from another class def 2012-08-16 00:16:17 +02:00
Mathieu Virbel a4af093aa1 raise exception correctly now + add more unittests 2012-08-15 16:31:22 +02:00
gabriel.pettier 83fb36b2c7 prefer () to \ to break long lines 2012-08-14 23:29:47 +02:00
Mathieu Virbel 7319fab9e5 fix package import, make tests work again. 2012-08-14 15:12:34 +02:00
Mathieu Virbel 162d011912 add autoclass/ensureclass, auto reflection for JavaObject, and fixes around j_self 2012-08-14 15:09:48 +02:00