[PATCH] ENV variables should be removed from the environment when set to nil
----------------------------------------------------------------------------

                 Key: JRUBY-1244
                 URL: http://jira.codehaus.org/browse/JRUBY-1244
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
         Environment: rev 4066
            Reporter: Dmitry Verkhovsky
         Attachments: patch_r4066.txt

irb(main):001:0> ENV['test']="a"
=> "a"
irb(main):002:0> ENV.has_key?("test")
=> true
irb(main):003:0> ENV['test']=nil
=> nil
irb(main):004:0> ENV.has_key?("test")
=> false

Jirb(main):001:0> ENV['test']="a"
=> "a"
Jirb(main):002:0> ENV.has_key?("test")
=> true
Jirb(main):003:0> ENV['test']=nil
=> nil
Jirb(main):004:0> ENV.has_key?("test")
=> true
^^^^^^^^^ IT SHOULD BE FALSE HERE

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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

Reply via email to