Issue1842984

classification
Title: Py.tojava(PyObject, Class) incorrectly marked deprecated
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, johnrsisson
Priority: normal Keywords:

Created on 2007-12-02.23:37:11 by johnrsisson, last changed 2007-12-03.04:16:29 by cgroves.

Messages
msg2036 (view) Author: John Sisson (johnrsisson) Date: 2007-12-02.23:37:11
In Eclipse, it is showing the Py.tojava(PyObject o, Class c) method as deprecated, but looking at the code it appears that the deprecation flag is being picked up from  (the code above in) the JavaDoc comment for the "interp" static variable, which has been commented out.

The fix appears to be to change (in Py.java):

    /** @deprecated **/
    //public static InterpreterState interp;

To:


    // @deprecated 
    //public static InterpreterState interp;

msg2037 (view) Author: Charlie Groves (cgroves) Date: 2007-12-03.04:16:29
Fixed in r3759.  Thanks!
History
Date User Action Args
2007-12-02 23:37:11johnrsissoncreate