NPE when using a closed Iconv object
------------------------------------

                 Key: JRUBY-2533
                 URL: http://jira.codehaus.org/browse/JRUBY-2533
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.1.1, JRuby 1.1, JRuby 1.1RC3, JRuby 1.1RC2, JRuby 
1.1RC1, JRuby 1.1b1, JRuby 1.0.3, JRuby 1.0.2, JRuby 1.0.1, JRuby 1.0.0, JRuby 
1.0.0RC3, JRuby 1.0.0RC2, JRuby 1.0.0RC1, JRuby 0.9.9, JRuby 0.9.8, JRuby 
0.9.2, JRuby 0.9.1, JRuby 0.9.0, JRuby 1.0.4, JRuby 1.1.2, JRuby 1.1+, JRuby 1.2
         Environment: JRuby trunk, 2008-05-18
            Reporter: Daniel Luz
            Priority: Critical
         Attachments: iconv-npe.patch

Simple testcase:

jruby -riconv -e 'c = Iconv.new("us-ascii", "us-ascii"); c.close; c.iconv 
"test"'

No tests are included in the patch; it will be covered in the rubyspec soon.

-- 
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