[jruby-dev] [jira] Created: (JRUBY-1135) Time Formatting Bug

2007-06-12 Thread Stephen Gallo (JIRA)
Time Formatting Bug --- Key: JRUBY-1135 URL: http://jira.codehaus.org/browse/JRUBY-1135 Project: JRuby Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.0.0 Environment: Windows XP

[jruby-dev] [jira] Created: (JRUBY-1134) Linux shebang handlers must be compiled

2007-06-12 Thread Ken Bloom (JIRA)
Linux shebang handlers must be compiled --- Key: JRUBY-1134 URL: http://jira.codehaus.org/browse/JRUBY-1134 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.0.0RC2 Environment: Linux c

[jruby-dev] [jira] Created: (JRUBY-1133) $KCODE is ignored when multibyte character is used inside regular expression

2007-06-12 Thread Shinya Kasatani (JIRA)
$KCODE is ignored when multibyte character is used inside regular expression Key: JRUBY-1133 URL: http://jira.codehaus.org/browse/JRUBY-1133 Project: JRuby Issue Ty

[jruby-dev] [jira] Created: (JRUBY-1132) $! gets set to 'uninitialized constant RAILS_FRAMEWORK_ROOT' after Rails Initializer run - inconsistent with MRI

2007-06-12 Thread Jeffrey Damick (JIRA)
$! gets set to 'uninitialized constant RAILS_FRAMEWORK_ROOT' after Rails Initializer run - inconsistent with MRI Key: JRUBY-1132 URL: http://jira.code

Re: [jruby-dev] Cleaning up our Java-implemented methods

2007-06-12 Thread Nick Sieger
On 6/12/07, Ola Bini <[EMAIL PROTECTED]> wrote: So, anyone who have looked at our code knows that an annoying part of the setup of each Ruby class is a long list of CallbackFactory calls. Brixen of Rubinius just showed me part of their FFI, which would make total sense for our purposes. What the

Re: [jruby-dev] Cleaning up our Java-implemented methods

2007-06-12 Thread Anders Bengtsson
--- Ola Bini <[EMAIL PROTECTED]> wrote: > In our case, we could have a part of Kernel look like this: > > module Kernel > attach_method "org.jruby.RubyKernel", "new_array", :Array, > [:object] > attach_method "org.jruby.RubyKernel", "new_float", :Float, > [:object] > end > > I think that wo

[jruby-dev] [jira] Created: (JRUBY-1131) RubyFileTest fails to be compiled in Eclipse

2007-06-12 Thread Changshin Lee (JIRA)
RubyFileTest fails to be compiled in Eclipse Key: JRUBY-1131 URL: http://jira.codehaus.org/browse/JRUBY-1131 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects V

Re: [jruby-dev] Cleaning up our Java-implemented methods

2007-06-12 Thread Kresten Krab Thorup (Trifork)
I agree this is much cleaner; ideally everything should be done this way -- even core methods. The only trouble is the bootstrap process: some methods must be there before even the code below will work. In rubinius -- have thay figured out a good mechanism to control bootstrap for this?

[jruby-dev] Cleaning up our Java-implemented methods

2007-06-12 Thread Ola Bini
Hi guys. So, anyone who have looked at our code knows that an annoying part of the setup of each Ruby class is a long list of CallbackFactory calls. Brixen of Rubinius just showed me part of their FFI, which would make total sense for our purposes. What the example looks like is this: s = Co