Menu

#1354 Missing java @override annotation for finalize

None
closed-duplicate
nobody
java (79)
5
2017-10-08
2014-01-07
No

For object wrapper classes, SWIG is generating:
protected void finalize() {
delete();
}

but this is missing the @Override annotation (which flags the SWIG-generated files as containing problems in many IDEs).

Discussion

  • Olly Betts

    Olly Betts - 2017-10-08
    • status: open --> closed-duplicate
    • Group: -->
     
  • Olly Betts

    Olly Betts - 2017-10-08

    We're no longer using the SF trackers, and there's an open ticket covering this in the current issue tracker:

    https://github.com/swig/swig/issues/1008

    So I'm closing this in favour of that.

     

Log in to post a comment.