[
https://issues.jboss.org/browse/JBIDE-13990?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-13990:
------------------------------------------
according to
http://www.coderanch.com/t/488464/java/java/linux-distributions-java the arch
is not present in the os-version for all linux distros:
{quote}
* CentOS 5.4
matt@talon:~$ java OSInfo
OS name : Linux
OS version : 2.6.18-164.11.1.el5
OS architecture : i386
matt@talon:~$ uname -m
i686
* Fedora 12
matt@maverick:~$ java OSInfo
OS name : Linux
OS version : 2.6.32.9-70.fc12.x86_64
OS architecture : amd64
matt@maverick:~$ uname -m
x86_64
* Intel Solaris
matt@sidewinder:~$ java OSInfo
OS name : SunOS
OS version : 5.11
OS architecture : x86
matt@sidewinder:~$ /sbin/uname -m
i86pc
{quote}
Linux usage stats hardcoded to x86 so no data collected for x86_64
------------------------------------------------------------------
Key: JBIDE-13990
URL:
https://issues.jboss.org/browse/JBIDE-13990
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: usage
Affects Versions: 4.0.1.Final, 4.1.0.Alpha2
Reporter: Nick Boldt
Assignee: Andre Dietisheim
[~maxandersen] found this bug today when looking at why we have no 64-bit Linux usage
data:
{code:title=https://github.com/jbosstools/jbosstools-base/blob/master/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/EclipseUserAgent.java#L35}
private static final String USERAGENT_LINUX = "{0}/{1} (X11; U; Linux i686;
{3})"; //$NON-NLS-1$
{code}
Suggestion: we should replace i686 with \{2\}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira