Satoru Chinen created JRUBY-6502:
------------------------------------
Summary: "Config" should be deprecated in JRuby 1.7 (1.9 mode)
Key: JRUBY-6502
URL: https://jira.codehaus.org/browse/JRUBY-6502
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.7
Environment: jruby 1.7.0.dev (ruby-1.9.3-p139) (2012-02-27 fffffff)
(Java HotSpot(TM) 64-Bit Server VM 1.7.0_02) [Windows 7-amd64-java]
Reporter: Satoru Chinen
Priority: Minor
Hi.
I look at Win32API.rb related to JRUBY-6501, I noticed the problem of
Config::CONFIG.
>bin\jruby --version
jruby 1.7.0.dev (ruby-1.9.3-p139) (2012-02-27 fffffff) (Java HotSpot(TM) 64-Bit
Server VM 1.7.0_02) [Windows 7-amd64-java]
>bin\jruby -rrbconfig -e "puts Config::CONFIG['host_os']"
(snip)/jruby/lib/ruby/shared/Win32API.rb:7 warning: warning: variable $KCODE is
no longer effec
tive
mswin32
>pik use 193
>ruby --version
ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
>ruby -rrbconfig -e "puts Config::CONFIG['host_os']"
-e:1: Use RbConfig instead of obsolete and deprecated Config.
mingw32
"Config" is deprecated. RbConfig::CONFIG should be used instead of the
Config::CONFIG.
Thanks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
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