[jruby-dev] [jira] Created: (JRUBY-3175) Cloning java byte array returns incorrect object

2008-11-21 Thread John Wells (JIRA)
Affects Versions: JRuby 1.1.5, JRuby 1.1.6 Reporter: John Wells Priority: Minor If you clone a byte array and try to convert it back into a ruby String, it breaks. See the example below: irb(main):001:0> s = "switch me to bytes".to_java_bytes => #<#:0x44006

[jruby-dev] [jira] Created: (JRUBY-1488) Add ant tasks for running JRuby, and for profiling and debugging code within NetBeans

2007-10-30 Thread John Wells (JIRA)
Environment: NetBeans development environment for debugging and profiling...the run target can be used anywhere. Reporter: John Wells Assignee: Thomas E Enebo Priority: Minor This improvement add ant tasks for running, debugging and profiling JRuby. The

Re: [jruby-dev] Compile to .rbj instead of .class?

2007-10-20 Thread John Wells
- "Peter K Chan" <[EMAIL PROTECTED]> wrote: > It isn't so simple. You can rename all the .rbj to .class, and JET > may compile them successfully, but how do they get loaded up? The JRuby > classloader will still be expecting .rbj and doing it's own defineClass() on > bytecode, and not native c

Re: [jruby-dev] Compile to .rbj instead of .class?

2007-10-19 Thread John Wells
- "Charles Oliver Nutter" <[EMAIL PROTECTED]> wrote: > I appreciate your concerns, really. It's unfortunate that so many > tools and libraries expect .class, but that's the way it is. > > I'm still on the fence. You know...thinking about this a little more...I feel sort of silly for worryin

Re: [jruby-dev] Compile to .rbj instead of .class?

2007-10-19 Thread John Wells
- "Peter K Chan" <[EMAIL PROTECTED]> wrote: > Charlie, > So, I see the semantic mismatch, but what is the technical reason > for having a separate extension? > > I see some benefits of using the standard .class extension, such as > being able to compile JRuby compiled bytecode into native cod

Re: [jruby-dev] The Compiler Is Complete

2007-09-28 Thread John Wells
- "Charles Oliver Nutter" <[EMAIL PROTECTED]> wrote: > The Compiler Is Complete. Congratulations guys. I'm extremely excited to soon benefit from all your hard work! ;) John - To unsubscribe from this list please visit:

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread John Wells
- "Kenneth McDonald" <[EMAIL PROTECTED]> wrote: > However, last I heard, Groovy was really quite absurdly slow in > places, The typical response I get from the Groovy community on this is that if you ever hit a slow point, you can simply drop back to Java, code it, and be done. What's conf

Re: [jruby-dev] What can't JRuby do?

2007-08-17 Thread John Wells
Thanks for the great replies...I'm pondering your answers, but would like a little clarity on this: > > After the core team, JRuby classes would be VERY VERY tricky to > > un-obfuscate so JRuby could be a very good way to achieve Ruby > > obfuscation even if nobody should do closed source a

[jruby-dev] What can't JRuby do?

2007-08-17 Thread John Wells
Hi guys, This email is part of a larger discussion I've been having on the Groovy user list. Charles and I had discussed some things off-line, and he recommended I post some questions here. Feel free to respond to me off-list if you'd feel more comfortable. A bit of background: I'm the CIO o