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
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
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
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,
>
&
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: