[openrtm-commit:02819] r1039 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 9月 11日 (月) 15:06:53 JST
Author: t-katami
Date: 2017-09-11 15:06:53 +0900 (Mon, 11 Sep 2017)
New Revision: 1039
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ModuleManager.java
Log:
[compat,bugfix,->releng_1_2] Fixed the bug for manager.modules.load_path. refs #4195
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ModuleManager.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ModuleManager.java 2017-09-07 07:29:06 UTC (rev 1038)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ModuleManager.java 2017-09-11 06:06:53 UTC (rev 1039)
@@ -168,7 +168,7 @@
throw new IllegalArgumentException(
"Downloading module is not allowed.");
} else {
- throw new IllegalArgumentException(
+ throw new ClassNotFoundException(
"Not implemented." + moduleName);
}
} catch (MalformedURLException moduleName_is_not_URL) {
@@ -233,6 +233,9 @@
fullClassName = fullClassName.replace("..",".");
target = Class.forName(fullClassName);
module_path = fullClassName;
+ if(target!=null){
+ break;
+ }
} catch (ClassNotFoundException e) {
// do nothing
}
More information about the openrtm-commit
mailing list