You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require 'fileutils'
stat = File::Stat.new("./testdev.rb")
inode = [stat.ino.to_s, stat.dev_major, stat.dev_minor]
and then ran the following script:
jruby-1.7.20-SNAPSHOT/bin/jruby testdev.rb
and it produced the following output:
Mar 19, 2015 11:11:29 AM jnr.ffi.provider.jffi.NativeRuntime buildNativeTypeAliases
SEVERE: failed to load type aliases: java.lang.ClassNotFoundException: jnr/ffi/provider/jffi/platform/ppc64/linux/TypeAliases
NotImplementedError: stat.st_dev unsupported or native support failed to load
dev_major at org/jruby/RubyFileStat.java:201
(root) at testdev.rb:4
the java version is:
java -version
openjdk version "1.8.0_31"
OpenJDK Runtime Environment (build 1.8.0_31-b13)
OpenJDK 64-Bit Server VM (build 25.31-b07, mixed mode)
The text was updated successfully, but these errors were encountered:
We found running jruby on the openJDK on ppc64 architecture throws an uncaught exception.
we obtained a the 1.7.20 snapshot from:
http://ci.jruby.org/snapshots/jruby-1_7/jruby-dist-1.7.20-SNAPSHOT-bin.tar.gz
and we constructed a very simple jruby script:
cat testdev.rb
and then ran the following script:
and it produced the following output:
the java version is:
The text was updated successfully, but these errors were encountered: