Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre1, JRuby 1.6.7
Assignee: Thomas E Enebo
Created: 01/Aug/12 6:44 PM
Description:

I had problems loading the ffi library in jruby on Turkish Windows, and was directed to checkout org/jruyb/ext/ffi/Platform.java, and it is indeed here that the problem is coming from. It is using the turkish "i" (without a dot) in place of the regular "i" (with a dot) in "i386", and thus cannot find the right library to load.

Output of determineOS() and determineCPU()
OS : unknown
CPU: ı386

I suspect the problem is depending on the value of toLowerCase() here:

public enum OS_TYPE {
DARWIN,
FREEBSD,
NETBSD,
OPENBSD,
LINUX,
SOLARIS,
AIX,
WINDOWS,

UNKNOWN;
@Override
public String toString() { return name().toLowerCase(); }
}

Environment: Turkish Windows 2008
Project: JRuby
Priority: Major Major
Reporter: Matt Hauck
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
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to