From a0e0c8a39d0ef41ff6b64d9b40d058f21b786e81 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 25 Jun 2014 12:48:25 +0200 Subject: Add System.err log if CL/JNI library could not be loaded --- make/config/clImplCustomCode.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make/config/clImplCustomCode.java b/make/config/clImplCustomCode.java index fc7d59ed..e4fd2dcf 100644 --- a/make/config/clImplCustomCode.java +++ b/make/config/clImplCustomCode.java @@ -14,14 +14,14 @@ return null; } if(!bundle.isLibComplete()) { - // couldn't load native CL/JNI glue library - // TODO: log this? + System.err.println("Couln't load native CL/JNI glue library"); return null; } addressTable.reset(bundle); /** Not required nor forced if( !initializeImpl() ) { - throw new RuntimeException("Initialization failure"); + System.err.println("Native initialization failure of CL/JNI glue library"); + return null; } */ return bundle; } } ); -- cgit v1.2.3