diff options
Diffstat (limited to 'jvmaccess/source/virtualmachine.cxx')
-rw-r--r-- | jvmaccess/source/virtualmachine.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmaccess/source/virtualmachine.cxx b/jvmaccess/source/virtualmachine.cxx index 23192ab3e437..69bcf5fe6669 100644 --- a/jvmaccess/source/virtualmachine.cxx +++ b/jvmaccess/source/virtualmachine.cxx @@ -82,7 +82,7 @@ VirtualMachine::~VirtualMachine() JNIEnv * VirtualMachine::attachThread(bool * pAttached) const { - OSL_ENSURE(pAttached != 0, "bad parameter"); + assert(pAttached != 0 && "bad parameter"); JNIEnv * pEnv; jint n = m_pVm->GetEnv(reinterpret_cast< void ** >(&pEnv), m_nVersion); if (n != JNI_OK && n != JNI_EDETACHED) { |