Skip to content
Snippets Groups Projects
Unverified Commit a154c931 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom: Committed by GitHub
Browse files

Merge pull request #10 from CoreRasurae/2DLocalArrays

Fix: Exception handling when calling Java method OpenCLDevice.configu…
parents d330dba8 438f45af
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
## 1.4.1
* Fixed exception handling when calling Java method OpenCLDevice.configure() to not hide exceptions
## 1.4.0
* Fixed local arrays handling 1D and ND, to cope with arrays resizing across kernel executions
......
......@@ -66,9 +66,6 @@ void JNIHelper::callVoidWithException(JNIEnv *jenv, jobject instance, const char
throw std::string("bummer getting method '") + methodName + "', '()V' from instance";
jenv->CallVoidMethod(instance, methodId);
if (jenv->ExceptionCheck())
throw std::string("bummer calling '") + methodName + "', '()V'";
} catch(std::string& s) {
jenv->ExceptionClear();
throw s;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment