Suppress ecj warnings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-01-31 22:58:43 +00:00
commit d98658d30b
5 changed files with 11 additions and 0 deletions

View file

@ -85,6 +85,9 @@ int ioTest() { return 0; }
// except feature (%javaexception) specifying a checked exception class for the throws clause
%typemap(javabase) MyException "Throwable";
%typemap(javacode) MyException %{
public static final long serialVersionUID = 0x52151000; // Suppress ecj warning
%}
%inline %{
struct MyException {
MyException(const char *msg) {}