-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JRuby 9.1.6.0 tries to access O_TMPFILE under Windows #4332
Comments
The jnr-constants changes were made after the JRuby 9.1.6.0 release. I don't think they're to blame. But I'll investigate a bit. |
I can't reproduce. But it would be interesting to try with the |
Hi I'm currently facing this same problem (using Windows 10, JRE 1.8.0_73 and jruby 9.1.6.0)
Is there any way I could help investigating this? I forgot to mention I set the system property "jnr.constants.fake" to false. Here's my test program :
|
@DCransac @ips219 I also cannot reproduce this but I am on Win7 and Java 1.8.0_111. At this point I feel like the two most likely candidates would be:
|
Maybe there are some dependency problems on jruby-core package related with the jnr-constants package? I've tried to force jnr-constants with the required version (0.9.5) and it works:
Note that on jruby-core 9.1.6.0, jnr-constants dependency is declared on the POM with 0.9.5 version but when I build my project version 0.9.4 is downloaded as some of the dependencies of jruby-core require that version (jnr-unixsocket & jnr-enxio) |
@ips219 Yes I think that's the only likely explanation. This error should not be possible if JRuby builds properly. However if it then proceeds to capture the wrong version of jnr-constants, this error could result. I will do a pass over all jnr projects and ensure they are updated to latest versions of everything. |
This commit aligns all jnr projects on latest versions. It should also fix #4332.
Hi, i've this problem running JRuby 9.1.6.0 on Windows 10 with Java 8
I think this is the same problem as related #3332
These are the flags included for linux platform on the jnr.constants.Constant package
And these are the flags included for windows platform on the jnr.constants.Constant package
As you can see code is checking for this flags and they are not available under windows platform:
https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/RubyFile.java#L202
https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/RubyFile.java#L148
The text was updated successfully, but these errors were encountered: