summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/Object.cxx2
-rw-r--r--connectivity/source/inc/java/GlobalRef.hxx2
-rw-r--r--connectivity/source/inc/java/lang/Object.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/jdbc/Object.cxx b/connectivity/source/drivers/jdbc/Object.cxx
index b8560ab99c1b..06ee354903c9 100644
--- a/connectivity/source/drivers/jdbc/Object.cxx
+++ b/connectivity/source/drivers/jdbc/Object.cxx
@@ -114,7 +114,7 @@ java_lang_Object::java_lang_Object( JNIEnv * pXEnv, jobject myObj )
object = pXEnv->NewGlobalRef( myObj );
}
-java_lang_Object::~java_lang_Object()
+java_lang_Object::~java_lang_Object() COVERITY_NOEXCEPT_FALSE
{
if( object )
{
diff --git a/connectivity/source/inc/java/GlobalRef.hxx b/connectivity/source/inc/java/GlobalRef.hxx
index 277cfa2dec1e..6ff20ce4c0e2 100644
--- a/connectivity/source/inc/java/GlobalRef.hxx
+++ b/connectivity/source/inc/java/GlobalRef.hxx
@@ -55,7 +55,7 @@ namespace connectivity { namespace jdbc
return *this;
}
- ~GlobalRef()
+ ~GlobalRef() COVERITY_NOEXCEPT_FALSE
{
reset();
}
diff --git a/connectivity/source/inc/java/lang/Object.hxx b/connectivity/source/inc/java/lang/Object.hxx
index f7d136ceacc0..0c8ff2ef1047 100644
--- a/connectivity/source/inc/java/lang/Object.hxx
+++ b/connectivity/source/inc/java/lang/Object.hxx
@@ -86,7 +86,7 @@ namespace connectivity
// The actual ctor
java_lang_Object();
- virtual ~java_lang_Object();
+ virtual ~java_lang_Object() COVERITY_NOEXCEPT_FALSE;
void saveRef( JNIEnv * pEnv, jobject myObj );
jobject getJavaObject() const { return object; }