[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7043) JBoss tools usage reports Win7 only, should report all Windows Versions

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Sep 10 05:53:49 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-7043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12550074#action_12550074 ] 

Andre Dietisheim edited comment on JBIDE-7043 at 9/10/10 5:53 AM:
------------------------------------------------------------------

it looks like (could no test so far) the sysprop "os.name" is buggy on various jre. 

http://bugs.sun.com/view_bug.do?bug_id=6819886
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6220825

"os.version" seems reliable on the other hand. Win2000 will return "5",  XP returns "5.1", Vista "6" and Win7 "6.1". A complete list is here: http://lopica.sourceforge.net/os.html

http://www.java-forums.org/advanced-java/23701-unable-detect-os-name.html

      was (Author: adietish):
    it looks like (could no test so far) the sysprop "os.name" is buggy on various jre. 

http://bugs.sun.com/view_bug.do?bug_id=6819886
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6220825

"os.version" seems reliable on the other hand.
  
> JBoss tools usage reports Win7 only, should report all Windows Versions
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-7043
>                 URL: https://jira.jboss.org/browse/JBIDE-7043
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: usage
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>
> The current implementation fakes a Win7 browser string only (user agent) and therefore reports all Windows Versions as being Win7. Different Windows Versions should be reported correctly, indivually.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list