{"action":"opened","issue":{"url":"https://api.github.com/repos/kivy/pyjnius/issues/157","labels_url":"https://api.github.com/repos/kivy/pyjnius/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/kivy/pyjnius/issues/157/comments","events_url":"https://api.github.com/repos/kivy/pyjnius/issues/157/events","html_url":"https://github.com/kivy/pyjnius/issues/157","id":71325882,"number":157,"title":"java.lang.Long to java.lang.Integer","user":{"login":"remram44","id":426784,"avatar_url":"https://avatars.githubusercontent.com/u/426784?v=3","gravatar_id":"","url":"https://api.github.com/users/remram44","html_url":"https://github.com/remram44","followers_url":"https://api.github.com/users/remram44/followers","following_url":"https://api.github.com/users/remram44/following{/other_user}","gists_url":"https://api.github.com/users/remram44/gists{/gist_id}","starred_url":"https://api.github.com/users/remram44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remram44/subscriptions","organizations_url":"https://api.github.com/users/remram44/orgs","repos_url":"https://api.github.com/users/remram44/repos","events_url":"https://api.github.com/users/remram44/events{/privacy}","received_events_url":"https://api.github.com/users/remram44/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-27T15:47:53Z","updated_at":"2015-04-27T15:47:53Z","closed_at":null,"body":"This is the only test failure on my machine, running Windows 7 with Java 7 i386:\r\n```\r\nC:\\programmation\\pyjnius\\tests>python -m unittest discover\r\n1: declare a TestImplem that implement Collection\r\n2: instanciate the class, with some data\r\n<test_proxy.TestImplem object at 0x02B99558>\r\n['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__javainterfaces__', '__javamethods__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_invoke', 'data', 'equals', 'get', 'hashCode', 'hashCode_', 'invoke', 'iterator', 'j_self', 'listIterator', 'listIteratorI', 'set', 'size', 'toArray', 'toString']\r\ntries to get a ListIterator\r\niterator is <test_proxy.TestImplemIterator object at 0x02BA4238>\r\nat index 0 value is 0\r\nat index 1 value is 1\r\nat index 2 value is 2\r\nat index 3 value is 3\r\nat index 4 value is 4\r\nat index 5 value is 5\r\nat index 6 value is 6\r\nat index 7 value is 7\r\nat index 8 value is 8\r\n3: Do cast to a collection\r\n<java/util/Collection at 0x2b9dc60 jclass=java/util/Collection jself=<LocalRef obj=0xa1b5620 at 0x224f1e0>>\r\n4: Try few method on the collection\r\nreverse\r\nNone\r\n[9L, 8L, 7L, 6L, 5L, 4L, 3L, 2L, 1L, 0L]\r\nbefore swap\r\nNone\r\nafter swap\r\n[9L, 8L, 6, 7, 5L, 4L, 3L, 2L, 1L, 0L]\r\nrotate\r\nNone\r\n[4, 3, 2, 1, 0, 9, 8, 6L, 7L, 5]\r\nOrder of data before shuffle() [4, 3, 2, 1, 0, 9, 8, 6L, 7L, 5]\r\nNone\r\nOrder of data after shuffle() [8, 2, 0, 3, 4, 6L, 1, 9, 7L, 5]\r\n-> Collections.max(a)\r\n............................hi\r\nhi jnius other string\r\n.\r\n.Ú..............E..\r\n======================================================================\r\nERROR: test_proxy (unittest.loader.ModuleImportFailure)\r\n----------------------------------------------------------------------\r\nImportError: Failed to import test module: test_proxy\r\nTraceback (most recent call last):\r\n  File \"C:\\Python2.7\\lib\\unittest\\loader.py\", line 254, in _find_tests\r\n    module = self._get_module_from_name(name)\r\n  File \"C:\\Python2.7\\lib\\unittest\\loader.py\", line 232, in _get_module_from_name\r\n    __import__(name)\r\n  File \"C:\\programmation\\pyjnius\\tests\\test_proxy.py\", line 148, in <module>\r\n    print Collections.max(a2)\r\n  File \"jnius_export_class.pxi\", line 893, in jnius.JavaMultipleMethod.__call__ (jnius\\jnius.c:23945)\r\n  File \"jnius_export_class.pxi\", line 624, in jnius.JavaMethod.__call__ (jnius\\jnius.c:20680)\r\n  File \"jnius_export_class.pxi\", line 790, in jnius.JavaMethod.call_staticmethod (jnius\\jnius.c:22522)\r\n  File \"jnius_utils.pxi\", line 65, in jnius.check_exception (jnius\\jnius.c:3815)\r\nJavaException: JVM exception occurred: java.lang.Long cannot be cast to java.lang.Integer\r\n\r\n\r\n----------------------------------------------------------------------\r\nRan 47 tests in 0.080s\r\n\r\nFAILED (errors=1)\r\n```"}}