[jruby-dev] The 'rindex' failed when running jruby test on EBCDIC land using UTF-8

2007-12-13 Thread Spring Dove
hi, Successfully ported jruby to OS390 which is the EBCDIC land, It stopped when running test case test/testUTF8Regex.rb. I found the root reason is the 'rindex'. If I commented all the 'rindex' tests out, the test/testUTF8Regex.rb would be ok, or it would always be running and never stop. Also i

[jruby-dev] File.dirname got different results between jruby-1.0.3 and ruby-1.8.5

2008-01-21 Thread Spring Dove
Hi, I found File.dirname got the different results when run it on jruby-1.0.3and on ruby-1.8.5. jruby -e 'p File.dirname("C://a")' C:/ ruby -e 'p File.dirname("C://a")' C: also: jruby -e 'p File.dirname("//a/b")' //a ruby -e 'p File.dirname("//a/b")' /a I try to give the solution for the first

[jruby-dev] SOAP::SOAPDouble.new got different results between jruby-1.0.3 and ruby-1.8.5

2008-01-23 Thread Spring Dove
Hi, There is maybe a defect about SOAP::SOAPDouble.new: $ cat tb.rb require 'soap/baseData' module SOAP puts SOAP::SOAPDouble.new("0.0a") end $ jruby tb.rb +0 $ ruby tb.rb /home/dusr/r185/ruby-1.8.5/lib/xsd/datatypes.rb:402:in `screen_data': { http://www.w3.org/2001/XMLSchema}double: cannot a

[jruby-dev] Re: SOAP::SOAPDouble.new got different results between jruby-1.0.3 and ruby-1.8.5

2008-01-23 Thread Spring Dove
Here is the similar case I found: $ cat tx.rb require 'xsd/datatypes' module XSD putsXSD::XSDDouble.new("0.0a") end $ jruby tx.rb +0 I think these two cases have the same root cause.FYI. 2008/1/23, Spring Dove <[EMAIL PROTECTED]>: > > Hi, > &

Re: [jruby-dev] [jira] Created: (JRUBY-2176) File.dirname got different results between jruby-1.0.3 and ruby-1.8.5

2008-02-26 Thread Spring Dove
Project: JRuby > Issue Type: Bug > Affects Versions: JRuby 1.0.3 > Reporter: Dove Cradle > Assignee: Thomas E Enebo > Attachments: File_dirname.diff > > On Jan 21, 2008 10:03 PM, Spring Dove <[EMAIL PROTECTED]> wrote: