[openrtm-commit:02758] r1018 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 8月 18日 (金) 11:23:33 JST
Author: t-katami
Date: 2017-08-18 11:23:32 +0900 (Fri, 18 Aug 2017)
New Revision: 1018
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ManagerConfig.java
Log:
[compat,bugfix,->RELENG_1_2] Fixed the bug. refs #4160
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ManagerConfig.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ManagerConfig.java 2017-08-18 01:30:31 UTC (rev 1017)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ManagerConfig.java 2017-08-18 02:23:32 UTC (rev 1018)
@@ -437,7 +437,8 @@
osArch = sysInfo.getProperty("os.arch");
//プロセスID
- pid = System.getProperty("java.version") + new Random().nextInt();
+ //pid = System.getProperty("java.version") + new Random().nextInt();
+ pid = java.lang.management.ManagementFactory.getRuntimeMXBean().getName().split("@")[0];
} catch (Exception ignored) {
ignored.printStackTrace();
}
More information about the openrtm-commit
mailing list