Skip to content

Fix for #4147#4153

Merged
kares merged 1 commit intojruby:masterfrom
smk0621:master
Sep 14, 2016
Merged

Fix for #4147#4153
kares merged 1 commit intojruby:masterfrom
smk0621:master

Conversation

@smk0621
Copy link
Contributor

@smk0621 smk0621 commented Sep 14, 2016

When check the OS platform, the RUBY_PLATFORM return 'java' in JRuby.
It is better to use RbConfig::CONFIG['host_os'] .

fixes #4147

When check the OS platform, the RUBY_PLATFORM return 'java' in JRuby.
@kares kares added this to the JRuby 9.1.6.0 milestone Sep 14, 2016
@kares kares merged commit 6ce5e55 into jruby:master Sep 14, 2016
@enebo
Copy link
Member

enebo commented Sep 14, 2016

@headius can you commit this upstream? I don't know if they want rbconfig but this is a better check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logger: log rotation inter-process lock failed. on Windows with JRuby 9.x

3 participants