[jruby-dev] Problem with test result

2007-10-22 Thread Wirianto Djunaidi
Hi, The latest checkout failed the *'ant test*' on running *test/testIO.rb *on line 150, but when I run *test/testIO.rb* manually it ran perfectly fine. the problem line has the following code: test_ok(File.delete(@file1,@file2,@file3)) I haven't figure out what's wrong, my initial guess will b

Re: [jruby-dev] getting involved

2007-11-22 Thread Wirianto Djunaidi
It will be great if someone can put how to do rubinius spec test against JRuby on the wiki. I had created some patches based on issues submitted by Vladimir which were based on the rubinius spec test, but I am unable to do the test myself..so I have been doing the tests manually :P

Re: [jruby-dev] Hash order bug on trunk

2007-11-24 Thread Wirianto Djunaidi
It happened on Windows XP with tc_select.rb on my end, with the following message [junit] <[["a", 1], ["b", 2], ["c", 3]]> expected but was [junit] <[["c", 3], ["a", 1], ["b", 2]]>. The funny thing is when I ran the test methods manually in jirb, it gave the correct result. -DJ On Nov 23

[jruby-dev] Need hint on implementing library in java

2008-01-22 Thread Wirianto Djunaidi
Hi, Can someone give me some crash course on implementing ruby library in java? I had look through the examples in the *src/org/jruby/libraries* folders and the related files. It seems to only contains on how to load the libraries and setup the module/class definitions. Are there any other steps

[jruby-dev] [jira] Created: (JRUBY-1609) Thread.abort_on_exception is broken on windows

2007-11-22 Thread Wirianto Djunaidi (JIRA)
Reporter: Wirianto Djunaidi Assignee: Thomas E Enebo Priority: Critical running the following example from pickaxe book: #! /usr/bin/ruby Thread.abort_on_exception = true threads = [] 4.times do |number| threads << Thread.new(number) do |i| sleep(rand(0.1))

[jruby-dev] [jira] Created: (JRUBY-1990) File.dirname, File.link and File.symlink failed rubinius spec test

2008-01-16 Thread Wirianto Djunaidi (JIRA)
Components: Core Classes/Modules Affects Versions: JRuby 1.1RC2 Environment: Ubuntu 7.10 Reporter: Wirianto Djunaidi Priority: Minor Attachments: jruby-file_dirname_link.patch File.tagurize faild rubinius's dirname_spec.rb as follow: 1) File.di

[jruby-dev] [jira] Created: (JRUBY-2017) Dir.chdir raises a SystemCallError if the original directory no longer exists

2008-01-22 Thread Wirianto Djunaidi (JIRA)
Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.1RC1 Environment: Ubuntu 7.10 Reporter: Wirianto Djunaidi Attachments: dir_chdir.patch Current Dir.chdir failed rubinius spec for nested Dir.chdir where the inner nested Dir delete the