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:
parent
0460574284
commit
d98658d30b
5 changed files with 11 additions and 0 deletions
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue