Re: [jruby-dev] StackoverflowError at jrubyc

2009-02-19 Thread Charles Oliver Nutter
g_gruber wrote: Hi, today i tried to write a code-generator which generates several libraries for me. The generated Libraries provide encoding-Functions in order to encode or decode strings (i. e. cp1252 -> utf8). But some Libraries become very big (> 2 MB Code) because of the Character Codes. N

Re: [jruby-dev] Netbeans, JRuby 1.1.4, Sinatra edge, helpers problem

2009-02-18 Thread Charles Oliver Nutter
Paul Fraser wrote: I have not been able to find any reference to this type of failure in JRuby. Is this a known problem? Should it be reported as a bug? Not unless it fails on trunk too...can you show us a full backtrace? If it fails on trunk, definitely file it ASAP. - Charlie --

[jruby-dev] Shutting down jruby-extras lists and moving all code

2009-02-18 Thread Charles Oliver Nutter
I think it's time we bailed on the mailing list and repository at RubyForge for JRuby-Extras. It has served us well, but RubyForge is showing its age. I just moved JRuby-OpenSSL to GitHub, and several other projects have moved as well. I propose we move everything and shut this noisemaker down

[jruby-dev] jruby-openssl has moved to github

2009-02-18 Thread Charles Oliver Nutter
The source for jruby-openssl is now hosted on GitHub under the JRuby project account: http://github.com/jruby/jruby-openssl/tree/master Please go there for updates. We will hopefully publish a new release soon, to go along with JRuby 1.2. - Charlie --

[jruby-dev] [jira] Created: (JRUBY-3417) Compiler losing a break jump

2009-02-18 Thread Charles Oliver Nutter (JIRA)
Compiler losing a break jump Key: JRUBY-3417 URL: http://jira.codehaus.org/browse/JRUBY-3417 Project: JRuby Issue Type: Bug Components: Compiler Reporter: Charles Oliver Nutter

Re: [jruby-dev] Jline fork

2009-02-18 Thread Charles Oliver Nutter
Wayne Meissner wrote: 2009/2/18 Conrad Meyer : I was under the impression that non-GPL code could not link statically or dynamically with GPL libraries, and that this was one of the major differences between the GPL and LGPL. This is certainly Stallman's opinion (he cites That correct, with a

Re: [jruby-dev] Jline fork

2009-02-18 Thread Charles Oliver Nutter
Wayne Meissner wrote: That correct, with a small wrinkle. Where there is an ABI compatible library, which can be used as a complete replacement, and the binary is dynamically linked, then it could be argued that the code is intended to link with the ABI compatible library, and not the GPLed vari

Re: [jruby-dev] Jline fork

2009-02-18 Thread Charles Oliver Nutter
Conrad Meyer wrote: Keep in mind, GNU readline is GPL. So I think in order to keep JRuby's license as permissive as it is, you'll need to use editline instead (a non-GPL readline replacement). Well, that's certainly something to consider, but of course we wouldn't actually copy, distribute, o

Re: [jruby-dev] Jline fork

2009-02-17 Thread Charles Oliver Nutter
Nick Sieger wrote: Maybe you should rename it to jruby-jline or something to indicate how you intend to fix things to work with JRuby. You're not necessarily taking over maintenance of jline for any possible consumers, right? You just want to make it work better for JRuby and will incorporate the

Re: [jruby-dev] Jline fork

2009-02-17 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: I've forked Jline: http://github.com/headius/jline/tree/master After thinking about this a bit more, I guess I actually meant fork in the "I want a place to commit patches" sense. If we continue with Jline (and that's a big if) we would

Re: [jruby-dev] Formalizing load and require of .class

2009-02-17 Thread Charles Oliver Nutter
ut deprecation warnings then you can likely upgrade to the next major release without much pain. Joe On Tue, Feb 17, 2009 at 9:09 AM, Thomas E Enebo mailto:tom.en...@gmail.com> <mailto:tom.en...@gmail.com <mailto:tom.en...@gmail.com>>&

Re: [jruby-dev] Formalizing load and require of .class

2009-02-17 Thread Charles Oliver Nutter
Tue, Feb 17, 2009 at 12:31 AM, Charles Oliver Nutter mailto:charles.nut...@sun.com>> wrote: > Stephen Bannasch wrote: >> >> At 8:38 PM -0600 2/16/09, Charles Oliver Nutter wrote: >>> >>> I'm working on http://jira.codehaus.or

[jruby-dev] [jira] Created: (JRUBY-3414) New ruby_test failures

2009-02-17 Thread Charles Oliver Nutter (JIRA)
New ruby_test failures -- Key: JRUBY-3414 URL: http://jira.codehaus.org/browse/JRUBY-3414 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Reporter: Charles Oliver Nutter Ideally

[jruby-dev] Jline fork

2009-02-16 Thread Charles Oliver Nutter
I've forked Jline: http://github.com/headius/jline/tree/master I know the maintainer was friendly to us, but I think we really need to have more control over a few of these buggy libraries, so we can spin new releases as needed. I've never forked an OSS project before. Should we give it a ne

Re: [jruby-dev] Formalizing load and require of .class

2009-02-16 Thread Charles Oliver Nutter
Stephen Bannasch wrote: At 8:38 PM -0600 2/16/09, Charles Oliver Nutter wrote: I'm working on http://jira.codehaus.org/browse/JRUBY-3214 and I think we need to ratchet down what load and require do when loading .class files. They've started to get overloaded for loading an indivi

[jruby-dev] [jira] Created: (JRUBY-3413) ri/rdoc do not page correctly

2009-02-16 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter The display program for ri/rdoc depends on being able to popen less/more/pager to do paging of the results. The launch of the pager itself works fine in JRuby, but it immediately terminates after a page of data, probably because to a subprocess of the JVM it does not

Re: [jruby-dev] Formalizing load and require of .class

2009-02-16 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: I'm working on http://jira.codehaus.org/browse/JRUBY-3214 and I think we need to ratchet down what load and require do when loading .class files. They've started to get overloaded for loading an individual Java class, which was never the intended pur

[jruby-dev] Formalizing load and require of .class

2009-02-16 Thread Charles Oliver Nutter
I'm working on http://jira.codehaus.org/browse/JRUBY-3214 and I think we need to ratchet down what load and require do when loading .class files. They've started to get overloaded for loading an individual Java class, which was never the intended purpose. This generally circumvents normal Java

[jruby-dev] [jira] Created: (JRUBY-3411) JRuby does not build or run on AIX due to exceptions in org.jruby.ext.ffi.Platform

2009-02-16 Thread Charles Oliver Nutter (JIRA)
Issue Type: Bug Components: Extensions Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter Fix For: JRuby 1.2 Our Platform class under org.jruby.ext.ffi appears to blow up if run on a platform it doesn't recognize. This is not ideal, sin

[jruby-dev] [jira] Created: (JRUBY-3405) popen breaks input channel for IRB

2009-02-15 Thread Charles Oliver Nutter (JIRA)
1.1.6 Reporter: Charles Oliver Nutter Fix For: JRuby 1.2 This is pretty ugly. After doing an IO.popen("sleep 60") in IRB, the console becomes nearly unresponsive. Only a few characters get through, and only after pressing the key several times. I'm not sure

[jruby-dev] [jira] Created: (JRUBY-3404) Use java.net.Socket OOB methods to implement OOB support

2009-02-14 Thread Charles Oliver Nutter (JIRA)
: Extensions Reporter: Charles Oliver Nutter Socket.sendUrgentData, setOOBInline and getOOBInline could be used to implement some missing Socket OOB features. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http

[jruby-dev] [jira] Created: (JRUBY-3403) Socket close_read and close_write should use appropriate methods on java.net.Socket

2009-02-14 Thread Charles Oliver Nutter (JIRA)
Issue Type: Bug Components: Extensions Reporter: Charles Oliver Nutter I had not realized Java's Socket class provided a bunch of methods we could use, like shutdownInput and shutdownOutput. We should look into using those for close_read and close_write. --

[jruby-dev] [jira] Created: (JRUBY-3402) extract command still tries to run but fails; remove entirely or fix

2009-02-14 Thread Charles Oliver Nutter (JIRA)
Components: Miscellaneous Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter Fix For: JRuby 1.2 While looking into JRUBY-2973, I discovered that the --command extract is not fully functional anymore. I know we had discussed removing "extract" ca

[jruby-dev] [jira] Created: (JRUBY-3401) BFTS: test_file_test failures on Linux

2009-02-12 Thread Charles Oliver Nutter (JIRA)
: Charles Oliver Nutter Fix For: JRuby 1.2 The test seems to run clean on OS X, but not on Linux. No investigation done yet: {noformat} [junit] Failure: [junit] test_class_blockdev_eh(TestFileTest) [junit] [test/externals/bfts/test_file_test.rb:69:in `util_test

[jruby-dev] [jira] Created: (JRUBY-3399) RubySpec: new autoload failures in Kernel and Module

2009-02-12 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter Fix For: JRuby 1.2 {noformat} [java] 1) [java] Kernel.autoload sets the autoload constant in Object's constant table FAILED [java] Expected Object to have constant 'KSAutoloadBB' but it does not [java] /Users/h

[jruby-dev] [jira] Created: (JRUBY-3398) Attributes defined from Java tried to use current frame for visibility

2009-02-12 Thread Charles Oliver Nutter (JIRA)
Components: Core Classes/Modules Reporter: Charles Oliver Nutter Assignee: Charles Oliver Nutter Fix For: JRuby 1.2 RubyModule.addAccessor and friends were always using the visibility set on the current frame as the visibility for attr accessors, even

[jruby-dev] [jira] Created: (JRUBY-3397) defined? CONST is not following proper constant lookup rules

2009-02-11 Thread Charles Oliver Nutter (JIRA)
: Core Classes/Modules Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter Assignee: Charles Oliver Nutter Fix For: JRuby 1.2 See this: {noformat} [headius @ cnutter:~/projects/jruby] $ jruby -e "module Foo; Bar = 1; end; include Foo; module B

[jruby-dev] [jira] Created: (JRUBY-3396) RubySpec: Queue#num_waiting reports the number of threads waiting on the Queue

2009-02-11 Thread Charles Oliver Nutter (JIRA)
Issue Type: Bug Components: RubySpec Reporter: Charles Oliver Nutter {noformat} 1) Queue#num_waiting reports the number of threads waiting on the Queue FAILED Expected 0 to equal 1 spec/ruby/library/queue/num_waiting_spec.rb:10 spec/ruby/library/queue/num_waiting_spec.rb:9:in

[jruby-dev] [jira] Created: (JRUBY-3395) RubySpec: ConditionVariable#wait should return self

2009-02-11 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter {noformat} 1) ConditionVariable#wait should return self FAILED Expected nil to equal # spec/ruby/library/conditionvariable/wait_spec.rb:11 spec/ruby/library/conditionvariable/wait_spec.rb:10 :1:in `initialize' {noformat} -- This message is automati

[jruby-dev] [jira] Created: (JRUBY-3394) Top-level method def invalidates everything by hand, much slower than MRI

2009-02-11 Thread Charles Oliver Nutter (JIRA)
: Bug Components: Performance Reporter: Charles Oliver Nutter Fix For: JRuby 1.2 Attachments: global_method_invalidation.patch This is an unusual case discovered while resolving JRUBY-1854. The problem here is that while normal method definition is plenty

[jruby-dev] [jira] Created: (JRUBY-3393) RubySpec: CSV::Reader.parse calls block once for one row of input

2009-02-10 Thread Charles Oliver Nutter (JIRA)
Components: RubySpec Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter {noformat} [java] CSV::Reader.parse calls block once for one row of input FAILED [java] Expected 0 [java] to equal 1 [java] [java] /Users/headius/projects/jruby/spec/ruby

[jruby-dev] [jira] Created: (JRUBY-3392) RubySpec: Thread.stop resets Thread.critical to false

2009-02-10 Thread Charles Oliver Nutter (JIRA)
Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter Assignee: Charles Oliver Nutter Priority: Blocker Fix For: JRuby 1.2 {noformat} [java] Thread.stop resets Thread.critical to false FAILED [java] Expected true [java] to equal

[jruby-dev] [jira] Created: (JRUBY-3391) RubySpec: Thread#inspect reports aborting on a killed thread

2009-02-10 Thread Charles Oliver Nutter (JIRA)
: RubySpec Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter {noformat} [java] Thread#inspect reports aborting on a killed thread FAILED [java] Expected "#" to include "aborting" [java] /Users/headius/projects/jruby/spec/ruby/core/threa

[jruby-dev] [jira] Created: (JRUBY-3390) RubySpec: Numeric#coerce calls #to_f to convert other if self responds to #to_f

2009-02-10 Thread Charles Oliver Nutter (JIRA)
Issue Type: Bug Components: RubySpec Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter {noformat} [java] Numeric#coerce calls #to_f to convert other if self responds to #to_f FAILED [java] Expected TypeError but no exception was raised [java

[jruby-dev] [jira] Created: (JRUBY-3388) RubySpec: File.open opens the file when passed mode, num and permissions

2009-02-10 Thread Charles Oliver Nutter (JIRA)
Components: RubySpec Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter {noformat} [java] File.open opens the file when passed mode, num and permissions FAILED [java] Expected "100755" [java] to equal "100744" [java]

[jruby-dev] [jira] Created: (JRUBY-3389) RubySpec: Hash#update raises a TypeError if called on a non-empty, frozen instance

2009-02-10 Thread Charles Oliver Nutter (JIRA)
Issue Type: Bug Components: RubySpec Affects Versions: JRuby 1.2 Reporter: Charles Oliver Nutter {noformat} [java] Hash#update raises a TypeError if called on a non-empty, frozen instance ERROR [java] TypeError: can't modify frozen hash #

[jruby-dev] [jira] Created: (JRUBY-3387) Array#== rubyspec failure

2009-02-10 Thread Charles Oliver Nutter (JIRA)
Oliver Nutter {noformat} [java] An exception occurred during: Mock.verify_count [java] Array#== does not call #to_ary on its argument FAILED [java] Mock 'to_ary' expected to receive 'to_ary' exactly 0 times [java] but received it 1 times [java] /Us

[jruby-dev] [jira] Created: (JRUBY-3386) Array#eql? rubyspec failure

2009-02-10 Thread Charles Oliver Nutter (JIRA)
Array#eql? rubyspec failure --- Key: JRUBY-3386 URL: http://jira.codehaus.org/browse/JRUBY-3386 Project: JRuby Issue Type: Bug Components: RubySpec Reporter: Charles Oliver Nutter {noformat

[jruby-dev] [jira] Created: (JRUBY-3384) OS X does not restart reads after SIGTSTP

2009-02-09 Thread Charles Oliver Nutter (JIRA)
: JRuby 1.1.6 Reporter: Charles Oliver Nutter Assignee: Charles Oliver Nutter I discovered this while working on JRUBY-2988 and then found a hack in Scala's codebase to work around the fact that OS X does not restart reads after a SIGTSTP (process suspension). Here's

[jruby-dev] Ruby 1.9 bugs in Jira

2009-02-07 Thread Charles Oliver Nutter
I have added a Jira component for Ruby 1.9 and marked Marcin as the component lead for now. If you have any 1.9 issues, please file them with this category. - Charlie - To unsubscribe from this list, please visit: http://x

Re: [jruby-dev] Ruby 1.8.7

2009-02-05 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: I just heard from David Hansson that they're going to start recommending Ruby 1.8.7 as the default for Rails. I'm not sure if that means they're going to start using 1.8.7 features or not, but this may be the push needed to make 1.8.7 a bit more stan

[jruby-dev] Ruby 1.8.7

2009-02-04 Thread Charles Oliver Nutter
I just heard from David Hansson that they're going to start recommending Ruby 1.8.7 as the default for Rails. I'm not sure if that means they're going to start using 1.8.7 features or not, but this may be the push needed to make 1.8.7 a bit more standard. I don't think we need to leap on 1.8.7

[jruby-dev] [jira] Created: (JRUBY-3371) DATA can not be flocked

2009-02-04 Thread Charles Oliver Nutter (JIRA)
: Charles Oliver Nutter Currently we present DATA as a File, but it's not actually flockable like MRI. This may or may not be a difference anyone cares about, but it causes some spec failures (because DATA does appear to be a real File in MRI). {noformat} 1) DATA.flock succeeds in lockin

[jruby-dev] [jira] Created: (JRUBY-3370) Need Constantine release for JRuby 1.2

2009-02-04 Thread Charles Oliver Nutter (JIRA)
Need Constantine release for JRuby 1.2 -- Key: JRUBY-3370 URL: http://jira.codehaus.org/browse/JRUBY-3370 Project: JRuby Issue Type: Bug Reporter: Charles Oliver Nutter Assignee

[jruby-dev] [jira] Created: (JRUBY-3366) OpenSSL blow-up in Rails ActiveSupport tests

2009-02-04 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter Assignee: Ola Bini Fix For: JRuby-OpenSSL 0.4 The Rails error is here: {noformat} 1) Failure: test_messing_with_either_value_causes_failure(MessageEncryptorTest) [test/message_encryptor_test.rb:36:in `assert_not_decrypted'

[jruby-dev] [jira] Created: (JRUBY-3365) Objects with custom to_yaml methods break collection to_yaml

2009-02-04 Thread Charles Oliver Nutter (JIRA)
: Extensions Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter Assignee: Ola Bini Fix For: JRuby 1.2 {noformat} o = Object.new def o.to_yaml(opts); 'hello'.to_yaml; end [o].to_yaml {:a => o}.to_yaml {noformat} Both of the last two lin

[jruby-dev] Code Review: handle EOF during lexing

2009-02-03 Thread Charles Oliver Nutter
This is for JRUBY-1855, where we would quietly ignore the first EOF character seen immediately after a newline. In order to compress the AST a bit, we spun in the lexer until the first non-newline character, so we'd only have a single newline node for sequences of blank lines. Unfortunately thi

[jruby-dev] Code Review: Fix ChannelStream.ready() for io/wait

2009-02-03 Thread Charles Oliver Nutter
This change obviously has one thing I need to fix (committed too quickly, which is the printStackTrace. Anyone want to review the rest of it as well? It seems like the right way to implement "ready" but it also seems really heavy. Perhaps there's a better way? This is for JRUBY-2109.

[jruby-dev] [jira] Created: (JRUBY-3362) attr_accessor, attr_reader, attr_writer, and attr not obeying visibility

2009-02-02 Thread Charles Oliver Nutter (JIRA)
Components: Core Classes/Modules Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter Fix For: JRuby 1.2 {noformat} $ irb >> module M; protected; attr_reader :foo end => nil >> class C; include M end => C >> C.public_instan

[jruby-dev] [jira] Created: (JRUBY-3357) Marshal load and dump rubyspec failures

2009-02-02 Thread Charles Oliver Nutter (JIRA)
Oliver Nutter Just realized these didn't have a bug: {noformat} fails:Marshal.dump dumps a Float 0.0 fails:Marshal.dump dumps a Float -0.0 fails:Marshal.dump dumps a Float 1.0 fails:Marshal.dump dumps a Regexp subclass /i fails:Marshal::load loads an Array with proc fails:Marshal::load rai

[jruby-dev] [jira] Created: (JRUBY-3356) JRuby OpenSSL does not pass its own tests

2009-02-02 Thread Charles Oliver Nutter (JIRA)
Oliver Nutter Fix For: JRuby-OpenSSL 0.4 {noformat} ◆ rake test (in /Users/headius/projects/jopenssl) Loaded suite -e Started .java.security.InvalidKeyException: Illegal key size or default parameters at javax.crypto.Cipher.checkCryptoPerm

[jruby-dev] [jira] Created: (JRUBY-3352) JFFI fails to load for specs on Windows

2009-02-01 Thread Charles Oliver Nutter (JIRA)
Oliver Nutter Fix For: JRuby 1.2 I'm not sure what's actually going on here: {noformat} [java] Platform.java:145:in `getPlatform': java.lang.NoClassDefFoundError: Could not initialize class com.kenai.jffi.Platform $SingletonHolder [java] from Fact

[jruby-dev] [jira] Created: (JRUBY-3351) Tempfile defaults to a directory that does not exist on Windows

2009-02-01 Thread Charles Oliver Nutter (JIRA)
Components: Extensions Reporter: Charles Oliver Nutter Assignee: Charles Oliver Nutter Fix For: JRuby 1.2 For JRuby 1.2, the "tempfile" library was rewritten in Java to allow using Java-based tempfile logic. But the default path it uses is always &qu

[jruby-dev] [jira] Created: (JRUBY-3350) JRuby .bat scripts do not correctly find Java without JAVA_HOME env var

2009-02-01 Thread Charles Oliver Nutter (JIRA)
Components: Windows Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter On Windows, I set PATH to point at my JDK's bin dir. On most platforms, this would be enough for JRuby to pick it up, but on Windows, JAVA_HOME must be set. Ideally, if "ja

[jruby-dev] [jira] Created: (JRUBY-3345) Exceptions at toplevel appear to be broken

2009-01-29 Thread Charles Oliver Nutter (JIRA)
: Charles Oliver Nutter Assignee: Thomas E Enebo Fix For: JRuby 1.2 {noformat} ◆ jruby -e "yield" ThreadContext.java:638:in `addBackTraceElement': java.lang.NullPointerException from ThreadContext.java:748:in `createBacktraceFromFrames' fro

[jruby-dev] [jira] Created: (JRUBY-3343) Modify require logic to block when two threads require the same file at the same time

2009-01-29 Thread Charles Oliver Nutter (JIRA)
: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter Fix For: JRuby 1.2 Matz has spoken! Matz: I propose that two or more separated threads may not load same library more than once. It

Re: [jruby-dev] [jira] Created: (JRUBY-3339) java.lang.ArrayIndexOutOfBoundsException in RubyArray.java

2009-01-28 Thread Charles Oliver Nutter
I've reduced this one down to a simple case...anyone want to attack it? fmt = "nnnC*" ary = [0, 262, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

Re: [jruby-dev] Moving antbuilder to kenai.com

2009-01-28 Thread Charles Oliver Nutter
keep you informed about the progress. Cheers Michael Johann Charles Oliver Nutter schrieb: Yes, perhaps there's a middle ground :) but definitely do whatever you feel most comfortable with; having either project active again would be excellent. Michael Johann wrote: Ok, I guess you ar

Re: [jruby-dev] Moving antbuilder to kenai.com

2009-01-27 Thread Charles Oliver Nutter
. I'll get back to you asap. In the meanwhile I'll try to get in contact with Jason. Cheers Michael Charles Oliver Nutter schrieb: Perhaps the antwrap backend could be used for antbuilder or the same DSL could be implemented on top of antwrap? Michael Johann wrote: Tim, thank you for

[jruby-dev] [jira] Created: (JRUBY-3337) Eliminate RubyClass stack based on Evan Phoenix's explorations

2009-01-27 Thread Charles Oliver Nutter (JIRA)
ement Reporter: Charles Oliver Nutter Assignee: Thomas E Enebo Fix For: JRuby 1.x+ Attachments: cref_vs_class.txt Evan Phoenix of Rubinius may have cracked the RubyClass code. He has documented all places where it needs to be updated and where it actually differs

[jruby-dev] [jira] Created: (JRUBY-3336) instance_eval does not share a variable scope with sibling evals

2009-01-27 Thread Charles Oliver Nutter (JIRA)
Components: Core Classes/Modules Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter Fix For: JRuby 1.x+ In 1.8 mode, evals at the same lexical scoping level should share the same "eval scope". (in 1.9 all evals get their own scopes) But in JRuby, ins

Re: [jruby-dev] Moving antbuilder to kenai.com

2009-01-27 Thread Charles Oliver Nutter
. (It seemed to me that the lighter weight approach of Antwrap made more sense than AntBuilder's dependency on LeafCutter. Good luck with the rest. - Tim 2009/1/27 Charles Oliver Nutter : If you can't contact the original maintainer I think it will probably be safe to just migrate i

Re: [jruby-dev] Moving antbuilder to kenai.com

2009-01-27 Thread Charles Oliver Nutter
jects http://blog.aslakhellesoy.com/2006/12/18/building-java-with-jruby. (It seemed to me that the lighter weight approach of Antwrap made more sense than AntBuilder's dependency on LeafCutter. Good luck with the rest. - Tim 2009/1/27 Charles Oliver Nutter : If you can't conta

Re: [jruby-dev] Moving antbuilder to kenai.com

2009-01-27 Thread Charles Oliver Nutter
If you can't contact the original maintainer I think it will probably be safe to just migrate it. If there's a dispute over the original name "antbuilder" or anything, we can deal with it later (and I'd bet a MILLION DOLLARS nobody will care if you just take it over). - Charlie malagant wrote

Re: [jruby-dev] Migrating RubyForge projects to Kenai

2009-01-25 Thread Charles Oliver Nutter
ence within the netbeans project team? Regards Paul Fraser Werner Schuster (murphee) wrote: Charles Oliver Nutter wrote: JParseTree: I'd love to see this updated and made to work 100%. Werner had been working on it, but I think he's lost interest. Yep - ruby_parse pretty much gives me

Re: [jruby-dev] Migrating RubyForge projects to Kenai

2009-01-25 Thread Charles Oliver Nutter
Serabe wrote: 2009/1/25 Charles Oliver Nutter : rmagick4j: This was our big GSoC project, and Sergio (is that right) was able to get a *ton* of stuff working. Gruff Graphs, which uses a lot of RMagick, passes all tests when running on RMagick4j. I'm not sure what's left to do, but i

[jruby-dev] Migrating RubyForge projects to Kenai

2009-01-25 Thread Charles Oliver Nutter
I think we should look at migrating all remaining RubyForge "JRuby-extras" projects to Kenai. It's got a much better bug tracker, separate email lists (or forums for lighter-weight Q/A), and I believe it will soon have git support. Being able to track bugs independently would be worth it in its

[jruby-dev] [jira] Created: (JRUBY-3323) rational rubyspec failures

2009-01-21 Thread Charles Oliver Nutter (JIRA)
: Charles Oliver Nutter {noformat} 1) Rational#divmod when passed [Float] returns the quotient as Integer and the remainder as Float FAILED Expected [-3, 0.25] to have same value and type as [-4, -0.25] spec/ruby/library/rational/divmod_spec.rb:38 spec/ruby/library/rational/divmod_spec.rb:31 spec

[jruby-dev] [jira] Created: (JRUBY-3322) mutex rubyspec failures

2009-01-21 Thread Charles Oliver Nutter (JIRA)
Oliver Nutter {noformat} 1) Mutex#locked? should return the status of the lock FAILED Expected false to be true spec/ruby/library/mutex/locked_spec.rb:26 spec/ruby/library/mutex/locked_spec.rb:4 spec/ruby/library/mutex/locked_spec.rb:54:in `load' 2) Mutex#try_lock should return false if loc

[jruby-dev] [jira] Created: (JRUBY-3321) matrix rubyspec failures

2009-01-21 Thread Charles Oliver Nutter (JIRA)
Oliver Nutter {noformat} 1) Matrix#eql? returns true when the each corresponding elements are equal in the sense of Object#eql? FAILED Expected false to be true spec/ruby/library/matrix/eql_spec.rb:19 spec/ruby/library/matrix/eql_spec.rb:5 spec/ruby/library/matrix/eql_spec.rb:54:in `load

[jruby-dev] [jira] Created: (JRUBY-3320) erb rubyspec failures

2009-01-21 Thread Charles Oliver Nutter (JIRA)
erb rubyspec failures - Key: JRUBY-3320 URL: http://jira.codehaus.org/browse/JRUBY-3320 Project: JRuby Issue Type: Bug Components: RubySpec Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver

[jruby-dev] [jira] Created: (JRUBY-3319) Date spec failures

2009-01-21 Thread Charles Oliver Nutter (JIRA)
Date spec failures -- Key: JRUBY-3319 URL: http://jira.codehaus.org/browse/JRUBY-3319 Project: JRuby Issue Type: Bug Components: RubySpec Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver

[jruby-dev] [jira] Created: (JRUBY-3316) Group expression class path fails to parse

2009-01-20 Thread Charles Oliver Nutter (JIRA)
Oliver Nutter Assignee: Thomas E Enebo >From Ruby's redmine: http://redmine.ruby-lang.org/issues/show/1026 On Ruby 1.8, yylex() returns '(' instead of tLPAREN if lex_state == EXPR_CLASS, so a gropuing expression is not permitted in a class path. {noformat} $ rub

[jruby-dev] [jira] Created: (JRUBY-3315) Hash.default-based euler code is slower under JRuby than Ruby 1.9.1

2009-01-20 Thread Charles Oliver Nutter (JIRA)
Components: Performance Reporter: Charles Oliver Nutter This code runs slower under JRuby than under 1.9.1. Have not done much investigation so far. {noformat} #!/usr/bin/env jruby #!/usr/bin/env ruby1.9 # This is quite elegant (IMO), but also VERY slow under MRI 1.8. Run # under

[jruby-dev] [jira] Created: (JRUBY-3314) Pull in final 1.9.1 stdlib when released

2009-01-19 Thread Charles Oliver Nutter (JIRA)
: Charles Oliver Nutter Fix For: JRuby 1.1.7 Ruby 1.9.1 final comes out in a week or two. When it's released, we should pull in 1.9 stdlib. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators:

[jruby-dev] [jira] Created: (JRUBY-3309) Normal "root" script and method bodies need different things but compile the same

2009-01-16 Thread Charles Oliver Nutter (JIRA)
ect: JRuby Issue Type: Bug Components: Compiler Reporter: Charles Oliver Nutter Fix For: JRuby 1.1.7 Currently both script "root" and JITted method compilation pass through compileRoot in ASTCompiler, but they have different requirements. For exam

[jruby-dev] [jira] Created: (JRUBY-3301) IBM Java 5 fails NKF tests with invalid encoding

2009-01-11 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter I've had to add an ArgumentError rescue in test/test_nkf.rb because IBM Java 5 appears to fail them with invalid encoding. It's possible we could modify NKF to use encodings that work across JVMs, but for now we'll just swallow the error to get IBM

[jruby-dev] [jira] Created: (JRUBY-3298) Kernel.srand calls #to_i on number

2009-01-10 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter {noformat} Kernel.srand calls #to_i on number FAILED Expected 1231536287104 to equal 3 spec/ruby/core/kernel/srand_spec.rb:28 spec/ruby/core/kernel/srand_spec.rb:4 spec/ruby/core/kernel/srand_spec.rb:54:in `load' {noformat} -- This message is automati

[jruby-dev] [jira] Created: (JRUBY-3297) Array.new with (size, object=nil) returns the value passed to break

2009-01-10 Thread Charles Oliver Nutter (JIRA)
Components: RubySpec Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter {noformat} Array.new with (size, object=nil) returns the value passed to break FAILED Expected ["0", "1"] to equal nil spec/ruby/core/array/new_spec.rb:125 spec/ruby/core/array

[jruby-dev] [jira] Created: (JRUBY-3277) Constant lookup should omit topmost lexical scope; not bail out on first Object-hosting lexical scope

2008-12-31 Thread Charles Oliver Nutter (JIRA)
-3277 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.1.6 Reporter: Charles Oliver Nutter Fix For: JRuby 1.1.7 Two new RubySpec failures pointed at a behavioral flaw in our constant lookup

[jruby-dev] [jira] Created: (JRUBY-3276) New IO#readpartial and IO#seek spec failures

2008-12-31 Thread Charles Oliver Nutter (JIRA)
: Charles Oliver Nutter A few new failures in readpartial and seek specs: {noformat} 1) IO#readpartial discards the existing buffer content upon successful read FAILED Expected "existinghello world" to equal "hello world" spec/ruby/core/io/readpartial_spec.rb:

[jruby-dev] [jira] Created: (JRUBY-3275) New ARGF spec failures

2008-12-31 Thread Charles Oliver Nutter (JIRA)
New ARGF spec failures -- Key: JRUBY-3275 URL: http://jira.codehaus.org/browse/JRUBY-3275 Project: JRuby Issue Type: Bug Components: RubySpec Reporter: Charles Oliver Nutter Updated specs show new

[jruby-dev] [jira] Created: (JRUBY-3274) Many new Array#pack failures in updated RubySpecs

2008-12-31 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter There are many new failures in the updated RubySpecs as of today. I will add the list in a comment (since I want to tag them with this bug number first). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the

Re: [jruby-dev] Leaking JRuby instances due to MySQL timer thread?

2008-12-30 Thread Charles Oliver Nutter
Nick Sieger wrote: FWIW, these are the kinds of flaky bugs I've seen w/ various versions of the MySQL driver. The version bundled with activerecord-jdbcmysql-adapter, 5.0.4, does not have the statement cancellation timer. If you can try version 5.0.4, see if it helps with the problem. http://gi

[jruby-dev] Leaking JRuby instances due to MySQL timer thread?

2008-12-30 Thread Charles Oliver Nutter
Today I spent some time investigating why repeated deploys of a user's app ate progressively more and more memory on Tomcat on Sun Java 6. I managed to get from the user a heap dump of a server that had an app deployed and undeployed plus an explicit GC. The JRuby instance sticks around. It a

[jruby-dev] [jira] Created: (JRUBY-3272) AR-JDBC uses deprecated and to-be-removed IntHashMap from JRuby

2008-12-29 Thread Charles Oliver Nutter (JIRA)
Components: ActiveRecord-JDBC Affects Versions: ActiveRecord-JDBC-0.9 Reporter: Charles Oliver Nutter Fix For: ActiveRecord-JDBC-0.9.1 Attachments: 0001-JRUBY-3270-using-activerecord-to_xml-method-crash.patch Subject basically says it all. I wanted to clean house

Re: [jruby-dev] Size of Ruby object

2008-12-19 Thread Charles Oliver Nutter
Jim Menard wrote: We're using JRuby in an app server, and the app server needs to keep track of the sizes of running applications within it while running for monitoring, to detect leaks, and to limit resources if necessary. What I'm looking for is a way to write a method in Java that returns the

Re: [jruby-dev] Major performance slowdown while multithreading (Java Vs JRuby)

2008-12-18 Thread Charles Oliver Nutter
avishek.dasgupta wrote: Charles Oliver Nutter-2 wrote: Interesting numbers...I think we need more information, however, like what version of JRuby you ran and a short description of how the application works. There have been threading-related bottlenecks reported over time, but we've s

Re: [jruby-dev] Size of Ruby object

2008-12-18 Thread Charles Oliver Nutter
And there's certainly a wide variety of tools for monitoring JVM memory use; at least one of them ought to be able to give you a total from org.jruby.Ruby on down. avishek.dasgupta wrote: I assume you meant 'JRuby' Since JRuby uses the JVM, you can get the memory data using jconsole. If you ar

[jruby-dev] Idea dump: invokers, static compilation

2008-12-18 Thread Charles Oliver Nutter
Just have had several ideas I wanted to dump somewhere, and this seemed like as good a place as any. 1. We could reduce the number of binding classes we create if we stacked them up; so if you have method A that takes one arg and method B that takes two, we could generate them both into the sa

Re: [jruby-dev] [ANN] JRuby 1.1.6 Released

2008-12-18 Thread Charles Oliver Nutter
Paul Fraser wrote: Downloaded and extracted into "netbeans\ruby2\jruby-1.1.6" then tried to add platform in netbeans (recent build 6.5+) Failed with message "jruby.bat does not seem to be a valid ruby interpreter". Is this a bug or is my install method (extract into ruby2 directory) no

Re: [jruby-dev] Problematic License file in JRuby-complete

2008-12-18 Thread Charles Oliver Nutter
Ola Bini wrote: Hey guys, The Mingle team just informed me that the jruby-complete jar we distribute actually happen to include only one META-INF/LICENSE.txt and META-INF/NOTICE.txt. The NOTICE.txt makes it obvious these files come from Joda. The problem is that this isn't obvious in the LICE

Re: [jruby-dev] Major performance slowdown while multithreading (Java Vs JRuby)

2008-12-17 Thread Charles Oliver Nutter
avishek.dasgupta wrote: I am trying to write a message transformation application using JRuby. This is a web-app to be deployed in Tomcat. When I benchmarked this new app written in JRuby (with some Java components), with the earlier app written in Java I saw a major performance drop when the loa

Re: [jruby-dev] Sandbox Gem

2008-12-10 Thread Charles Oliver Nutter
Rob Britton wrote: Hey guys, I made a tweak to the javasand gem so that it works with JRuby 1.1.5 (not sure about 1.1.6 yet), but I'm not sure what to do now, should I send someone a diff file or something? File a normal bug in our repository; that should be sufficient for us to get the diff

[jruby-dev] 1.1.6 release delayed a bit

2008-12-10 Thread Charles Oliver Nutter
The GlassFish team has reported some performance degradation in 1.1.6 compared to 1.1.5, and in order to investigate it further I think we'll probably be delaying 1.1.6 final a bit. So far no good clues as to the source of the degradation, but we'll report back as more information comes in. -

[jruby-dev] [jira] Created: (JRUBY-3216) Incorporate features from Sergio Oliveria's JRubyInterpreter into JavaEmbedUtils

2008-12-04 Thread Charles Oliver Nutter (JIRA)
JRuby Issue Type: New Feature Reporter: Charles Oliver Nutter Assignee: Thomas E Enebo Fix For: JRuby 1.1.7 See what Sergio has put together here. I'd rather not have a proliferation of different interfaces if we can make one true interface to rul

[jruby-dev] [jira] Created: (JRUBY-3211) builder library is slower in JRuby than in MRI

2008-12-03 Thread Charles Oliver Nutter (JIRA)
Reporter: Charles Oliver Nutter We start to do better after a long warmup like 20k, but a shorter warmup (like 5k) and we're still pretty slow. Seems like there's something we could improve here. {noformat} require "rubygems" require "builder" require "rben

[jruby-dev] JavaOne and CommunityOne reminders

2008-12-03 Thread Charles Oliver Nutter
Just a reminder, folks, JavaOne and CommunityOne submission deadlines are rapidly approaching! CommunityOne CommunityOne East - March 18-19, 2009 - New York City CommunityOne West - June 1-2, 2009 - San Francisco Deadline to submit speaking abstracts: Dec. 11, 2008 Where to make submissions: htt

Re: [jruby-dev] JRuby 1.1.6 on or around Dec 3

2008-11-27 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: Good find! I think technically we're supposed to build the set of frames at the point of "raise", but I haven't been able to clean up/refactor things to that end yet. This is good for now. Applying shortly. Er, I meant the original raise...so

Re: [jruby-dev] JRuby 1.1.6 on or around Dec 3

2008-11-27 Thread Charles Oliver Nutter
http://jira.codehaus.org/browse/JRUBY-3181 Another annoying one if it affects you. Pete On Wed, Nov 26, 2008 at 8:26 AM, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: We're looking at JRuby 1.1.6 middle of next week. The major changes: * 1.9 support in the parser; only interpret

<    4   5   6   7   8   9   10   11   12   13   >