Karl Nelson

Results 563 comments of Karl Nelson

Good to look into. I put in a patch that made JPype load as an Agent. That may allow us to get certain accesses that may otherwise be prohibited. The...

Currently the Proxy code can’t access methods that were marked as default in interfaces. The only way to get those is to reflect with a protected call even through they...

My solution was to call reflection and have it generate a stub class using ASM and interface using ASM. JPype implements those methods it wants on the interface portion and...

We do have one advantage in checking access. A call from within Java (which is the only way that it would be able to trigger as the borrowed methods all...

I believe the problem is that type resolution function is unable to reach ``init`` due to its meta data. I replicated the problem locally, though I currently don’t know the...

This should be simple to fix. The problem should be in native/common/jp_exception.cpp where we set the exception information. tb_lineno is one of the fields we set. My guess it that...

I was unable to replicate the issue from your example. I get ``` ______________________________________________ test_exception_with_cause _______________________________________________ java.lang.java.lang.IllegalStateException: java.lang.IllegalStateException: cause The above exception was the direct cause of the following exception:...

Unfortunately I got ``` [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.optaplanner:DroolsExecutableReproducer:8.0.0-SNAPSHOT: Could not find artifact org.optaplanner:optaplanner-build-parent:pom:8.0.0-SNAPSHOT and...

I got ``` (python3.12-wsl) nelson85@wl-5520983:~/devel/open/jpype/issue$ pytest ======================================================================================= test session starts ======================================================================================== platform linux -- Python 3.12.0, pytest-8.1.1, pluggy-1.4.0 -- /home/nelson85/env/python3.12-wsl/bin/python cachedir: .pytest_cache rootdir: /mnt/c/Users/nelson85/Documents/devel/open/jpype configfile: setup.cfg collected 2 items tests/test_reproducer.py::test_throwing...