diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:49:53 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:19:48 +0100 |
commit | 6488e5f1207eb3f72e00cd1e2ada2e443c891373 (patch) | |
tree | 4e4424bf1aa525f86cf48ff5a0c1044cab0efaff /jvmaccess/source/virtualmachine.cxx | |
parent | 7769f9dbd4613a147a60d76e2df9fedd0f11289f (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'jvmaccess/source/virtualmachine.cxx')
-rw-r--r-- | jvmaccess/source/virtualmachine.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmaccess/source/virtualmachine.cxx b/jvmaccess/source/virtualmachine.cxx index 9597eed2e8aa..a257f55224cd 100644 --- a/jvmaccess/source/virtualmachine.cxx +++ b/jvmaccess/source/virtualmachine.cxx @@ -100,7 +100,7 @@ JNIEnv * VirtualMachine::attachThread(bool * pAttached) const JNIEnv * pEnv; jint n = m_pVm->GetEnv(reinterpret_cast< void ** >(&pEnv), m_nVersion); if (n != JNI_OK && n != JNI_EDETACHED) { - OSL_ENSURE(false, "JNI: GetEnv failed"); + OSL_FAIL("JNI: GetEnv failed"); } if (pEnv == 0) { @@ -119,7 +119,7 @@ void VirtualMachine::detachThread() const { #ifdef SOLAR_JAVA if (m_pVm->DetachCurrentThread() != JNI_OK) { - OSL_ENSURE(false, "JNI: DetachCurrentThread failed"); + OSL_FAIL("JNI: DetachCurrentThread failed"); } #endif } |