Add caveat emptor for peek method in Java directors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-09-13 19:18:25 +00:00
commit d1bc8b5b21

View file

@ -68,6 +68,7 @@ namespace Swig {
weak_global_ = true;
}
/* Only call peek if you know what you are doing wrt to weak/global references */
jobject peek() {
return jthis_;
}