pyjnius icon indicating copy to clipboard operation
pyjnius copied to clipboard

Access Java classes from Python

Results 140 pyjnius issues
Sort by recently updated
recently updated
newest added

enums reflections works out-of-the-box according to my tests, but there is still a problem with reflection, see followup. ## Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1362791-enums-reflection-is-buggy?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github)** We...

bug
support
platform-linux

While trying out the code at http://www.hackzine.org/using-apache-tika-from-python-with-jnius.html I get the exception below. Is there any way to set StartOnFirstThread to false for the VM. ``` log4j:WARN No appenders could be...

bug
platform-osx

My description just got lost in some stange github bug... In brief, I can deploy an android application with buildozer and a main.py containing ``` python String = autoclass("java.lang.String") aaa...

bug
question
support

Any possibility or interest in passing large arrays of numbers between Java arrays and NumPy arrays? Since Cython is already used, this may be trivial to add to the conversion...

enhancement

JavaMultipleMethod resolves to a wrong method signature in a case where matching should be done by the interfaces. Consider the following [Cipher.init](https://docs.oracle.com/javase/7/docs/api/javax/crypto/Cipher.html): ``` Cipher = autoclass("javax.crypto.Cipher") SecretKeySpec = autoclass("javax.crypto.spec.SecretKeySpec") default_key...

bug

The following example fails in a peculiar way: ```` import threading import jnius ArrayList = jnius.autoclass('java.util.ArrayList') def do_array_work(tid): # ArrayList = jnius.autoclass('java.util.ArrayList') print "Running thread", tid try: n = 0...

I've run into an odd scenario where I get incorrect/inconsistent behavior using Pyjnius with the python threading library. Basically if I have multiple python threads calling into a Java library,...

The API docs [here](http://pyjnius.readthedocs.io/en/latest/api.html#jvm-options-and-the-class-path) have the following example: ``` import jnius_config jnius_config.add_options('-Xrs', '-Xmx4096') jnius_config.set_classpath('.', '/usr/local/fem/plugins/*') import jnius ``` I suspect that the second line should contain `-Xmx4096m`. As it is,...

I recently found out that accessing a static public class field from an instance of a class always returned `None`. For instance, let's say I have this class: ``` public...

bug

In the files `jnius_conversion.pxi` and `jnius_proxy.pxi`. ## --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25353484-local-reference-obtained-from-j_env-0-getobjectclass-not-freed?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github).