[jruby-dev] [jira] Created: (JRUBY-5466) Odd behavior with JRuby, ActiveRecord 2.3, and decimal primary keys

2011-02-08 Thread Rhett Sutphin (JIRA)
Odd behavior with JRuby, ActiveRecord 2.3, and decimal primary keys --- Key: JRUBY-5466 URL: http://jira.codehaus.org/browse/JRUBY-5466 Project: JRuby Issue Type: Bug

Re: [jruby-dev] 1.6.0 JRuby Embed classloaders

2011-02-08 Thread Rob Heittman
Works great! I updated via rvm to jruby-head 3d4720 (bc6fb9+2) and built with "ant dist", then replaced my hack with jruby-complete-1.6.0-RC2.jar from that build. Added: System.setProperty("org.jruby.embed.classloader", "context"); to my Activator. App worked as before. Thanks! I like the ch

Re: [jruby-dev] 1.6.0 JRuby Embed classloaders

2011-02-08 Thread Rob Heittman
> I pushed the change by the commit, bc6fb9c. Would you help me to test > the change is really working? Custom classloader issue is not easy to > break down to a simple test case. Yes, I'll pull it now and replace my version -- will post with the results. > Interesting. Do you have blog post or s

Re: [jruby-dev] 1.6.0 JRuby Embed classloaders

2011-02-08 Thread Yoko Harada
I pushed the change by the commit, bc6fb9c. Would you help me to test the change is really working? Custom classloader issue is not easy to break down to a simple test case. On Tue, Feb 8, 2011 at 3:56 PM, Rob Heittman wrote: > Great! I've been running a modified version of 1.6.0RC1 that supports

[jruby-dev] cext.ModuleLoader.java problem guessing init method name

2011-02-08 Thread obake star
Hi im working with cext recently on Linux and faced this problem. Say we want to link a ruby app with 'awesome.so' witch has the init method 'init_awesome'. But if the 'awesome.so' is actually a symbolic link 'awesome.so.1', ModuleLoader.java ends up calling 'init_awesome.so' method that does not

[jruby-dev] [jira] Created: (JRUBY-5465) [1.9] ChannelStream doesn't handle multibyte characters from ungetc properly

2011-02-08 Thread David Calavera (JIRA)
[1.9] ChannelStream doesn't handle multibyte characters from ungetc properly Key: JRUBY-5465 URL: http://jira.codehaus.org/browse/JRUBY-5465 Project: JRuby Issue Ty

Re: [jruby-dev] 1.6.0 JRuby Embed classloaders

2011-02-08 Thread Rob Heittman
Great! I've been running a modified version of 1.6.0RC1 that supports the context method. This helps me on a multitenant system where each tenant has its own JRuby engine, which knows how to load classes from that tenant's GridFS. I used to have to do this with JRuby-specific code to create a JRub

Re: [jruby-dev] 1.6.0 JRuby Embed classloaders

2011-02-08 Thread Yoko Harada
On Tue, Feb 8, 2011 at 2:28 PM, Rob Heittman wrote: > Well, now that you laid it out much more clearly than I managed ... how about: > > - context > container.setClassLoader(Thread.currentThread().getContextClassLoader()); > > - container > container.setClassLoader(container.getClass().getClassLoa

Re: [jruby-dev] 1.6.0 JRuby Embed classloaders

2011-02-08 Thread Rob Heittman
Well, now that you laid it out much more clearly than I managed ... how about: - context container.setClassLoader(Thread.currentThread().getContextClassLoader()); - container container.setClassLoader(container.getClass().getClassLoader()); - none // won't set any classloader ... since what we'r

[jruby-dev] [jira] Created: (JRUBY-5464) cext on 64 Windows oddities

2011-02-08 Thread Thomas E Enebo (JIRA)
cext on 64 Windows oddities --- Key: JRUBY-5464 URL: http://jira.codehaus.org/browse/JRUBY-5464 Project: JRuby Issue Type: Bug Components: C Extensions, Windows Affects Versions: JRuby 1.6RC1

Re: [jruby-dev] 1.6.0 JRuby Embed classloaders

2011-02-08 Thread Yoko Harada
Hi Rob, Good suggestion! On Sun, Feb 6, 2011 at 1:08 AM, Rob Heittman wrote: > Hi Yoko and all, > > 1.6.0 introduces a new system property to control a useful new > behavior in the JSR223 implementation: > > org.jruby.embed.classloader: current | none > > as documented here: > http://yokolet.blo

[jruby-dev] [jira] Created: (JRUBY-5463) Process.getpriority should raise an error with an invalid process type

2011-02-08 Thread Daniel Berger (JIRA)
Process.getpriority should raise an error with an invalid process type -- Key: JRUBY-5463 URL: http://jira.codehaus.org/browse/JRUBY-5463 Project: JRuby Issue Type: Bug

[jruby-dev] [jira] Created: (JRUBY-5462) Build Cext for more platforms

2011-02-08 Thread Charles Oliver Nutter (JIRA)
Build Cext for more platforms - Key: JRUBY-5462 URL: http://jira.codehaus.org/browse/JRUBY-5462 Project: JRuby Issue Type: Improvement Components: C Extensions Affects Versions: JRuby 1.6RC2