From 288f1dc402c2b43ddfe804248719911146b2f7da Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Thu, 28 Oct 2004 19:30:27 +0000 Subject: [PATCH] using the Language::abstractTestClass, since now it also considers the director case, and is more complete git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6541 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/java.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index 3a04f3ec1..19ccd3e89 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -3620,8 +3620,14 @@ class JAVA : public Language { * ----------------------------------------------------------------------------- */ virtual int abstractClassTest(Node *n) { - if (!Cmp(Getattr(n, "feature:director"), "1")) - return 0; + /* + This is not needed anymore, since Language::abstractClassTest + implements now a test considering the director case, which can + be abstract. + + if (!Cmp(Getattr(n, "feature:director"), "1")) + return 0; + */ return Language::abstractClassTest(n); } }; /* class JAVA */