[
https://issues.jenkins-ci.org/browse/JENKINS-10383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158851#comment-158851
]
SCM/JIRA link daemon commented on JENKINS-10383:
------------------------------------------------
Code changed in jenkins
User: Nicolas De Loof
Path:
src/main/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTask.java
http://jenkins-ci.org/commit/platformlabeler-plugin/b04de4acd133f4b69d45b2cb3d73fd502ee524a7
Log:
[FIXED JENKINS-10383] svn patch applied
thanks to Ammon Riley
> platformlabeler plugin doesn't detect 64-bit windows
> ----------------------------------------------------
>
> Key: JENKINS-10383
> URL: https://issues.jenkins-ci.org/browse/JENKINS-10383
> Project: Jenkins
> Issue Type: Bug
> Components: platformlabeler
> Affects Versions: current
> Reporter: Ammon Riley
> Assignee: lifeless
> Attachments: platformlabeler.patch, platformlabeler.patch
>
>
> platformlabeler uses os.arch to determine bitness. However, that's not the
> OS architecture, but the JRE architecture. For a 64-bit JRE, or a 32-bit
> JRE running on a 32-bit OS, you get the right result, but for a 32-bit JRE
> running on a 64-bit OS, you don't.
> The list of Windows versions is also outdated.
> Attached patch works for Windows. Untested for linux, as I don't have a
> 32-bit linux install available.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira