jpype-project / jpype

JPype is cross language bridge to allow Python programs full access to Java class libraries.
http://www.jpype.org
Apache License 2.0
1.12k stars 182 forks source link

help(Class) doesn't work #1149

Open ldeluigi opened 1 year ago

ldeluigi commented 1 year ago

When I attempt to call help(Var) on a class named Var directly imported from the jar (which is in the same path as its javadoc jar counterpart):

File "C:\Users\_\AppData\Roaming\Python\Python310\site-packages\jpype\_jclass.py", line 166, in _jclassDoc
    jd = jde.getDocumentation(cls)
TypeError: No matching overloads found for org.jpype.javadoc.JavadocExtractor.getDocumentation(_jpype._JClass), options are:        
        public static org.jpype.javadoc.Javadoc org.jpype.javadoc.JavadocExtractor.getDocumentation(java.lang.Class)