[jruby-dev] [jira] (JRUBY-7109) IO.copy_stream contract is too rigid

2013-02-25 Thread Nick Sieger (JIRA)
Reporter: Nick Sieger

Re: [jruby-dev] Host key changed on jruby.org

2012-05-14 Thread Nick Sieger
Also FYI, I manually one-time copied the new/current host keys to one of the EBS volumes and added some chef code to preserve the host key across reboots, so hopefully this won't happen the next time we need to start a new server. /Nick On Mon, May 14, 2012 at 3:39 PM, Charles Oliver Nutter wrot

Re: [jruby-dev] Moving jruby-ossl into JRuby proper

2012-04-28 Thread Nick Sieger
On Apr 28, 2012, at 10:40 AM, Charles Oliver Nutter wrote: > This does bring up a logistical issue...there are folks who will not > want to touch a JRuby distribution with BC included, so it's likely > that we'll need to provide artifacts that omit BC completely. That > means we'll still ideally

Re: [jruby-dev] Moving jruby-ossl into JRuby proper

2012-04-27 Thread Nick Sieger
A most gleeful +1 from me. /Nick On Apr 26, 2012, at 11:50 PM, Charles Oliver Nutter wrote: > Ok, we need to discuss this a bit. I think it's time we rolled > jruby-ossl (OpenSSL) directly into JRuby and maintained it there. > > There are many reasons why this will make life easier: > > * No re

Re: [jruby-dev] heroku jruby buildpack

2012-04-20 Thread Nick Sieger
Hi Carl, Thanks for offering to have your work listed under the JRuby organization! I created https://github.com/jruby/heroku-buildpack-jruby, pushed your code there, and added you as a contributor. Let me know if I can help with anything else, /Nick On Thu, Apr 19, 2012 at 5:03 PM, Carl Hörber

Re: [jruby-dev] jruby-launcher no longer a "fork" of vvs/jruby-launcher

2012-02-17 Thread Nick Sieger
Looks like jnr-posix is the only other repo under the jruby org that fits this description. Should it just be deleted? /Nick On Feb 17, 2012, at 3:43 AM, Charles Oliver Nutter wrote: > I found a simple reason why it's better to duplicate a repo when > moving it into an organization: pull reques

Re: [jruby-dev] saved model object ID always 1 with jruby-rack

2012-02-17 Thread Nick Sieger
gt; I will echo Nick's suggestion: reproduce in a simple script. If we can >>>>> narrow it down to a simple schema and script, the fix may be easy to >>>>> find. >>>>> >>>>> My money is on auto-generated ID not propagating back ou

Re: [jruby-dev] saved model object ID always 1 with jruby-rack

2012-02-14 Thread Nick Sieger
ct.id gives 1 and if I do > > Product.find_by_name(), it gives me the just persisted object correctly. > > > > vivek. > > > > > > On Tue, Feb 14, 2012 at 8:30 AM, Nick Sieger wrote: > >> > >> How about rackup on JRuby? Works or fails? > >> &

Re: [jruby-dev] saved model object ID always 1 with jruby-rack

2012-02-14 Thread Nick Sieger
How about rackup on JRuby? Works or fails? /Nick On Tue, Feb 14, 2012 at 9:43 AM, Vivek Pandey wrote: > Sorry, forgot to give my env. Running my env on rails is non-trivial at > present. All I can tell is that when I run rackup with MRI it all works well > but the same when warbled and deployed

[jruby-dev] [jira] (JRUBY-6419) GzipReader encodings still not right; breaks "gem install"

2012-02-02 Thread Nick Sieger (JIRA)
Nick Sieger created JRUBY-6419: -- Summary: GzipReader encodings still not right; breaks "gem install" Key: JRUBY-6419 URL: https://jira.codehaus.org/browse/JRUBY-6419 Project: JRuby

[jruby-dev] [jira] (JRUBY-6341) Regression: Enumerable#first on a Java list returns an array, not an element

2012-01-12 Thread Nick Sieger (JIRA)
Nick Sieger created JRUBY-6341: -- Summary: Regression: Enumerable#first on a Java list returns an array, not an element Key: JRUBY-6341 URL: https://jira.codehaus.org/browse/JRUBY-6341 Project: JRuby

Re: [jruby-dev] [DOWNTIME] Git repositories at jruby.org temporarily unavailable

2012-01-11 Thread Nick Sieger
On Jan 10, 2012, at 10:12 PM, Hiroshi Nakamura wrote: > Hi, > > On Wed, Jan 11, 2012 at 08:49, Nick Sieger wrote: >> If you try to ssh into jruby.org, you may also notice that jruby.org's >> host signature has changed. You'll have to purge jruby.org entries out &g

[jruby-dev] Re: [DOWNTIME] Git repositories at jruby.org temporarily unavailable

2012-01-10 Thread Nick Sieger
On Tue, Jan 10, 2012 at 5:49 PM, Nick Sieger wrote: > I'll update this thread when the git repositories are back again. The repositories are back now, at least for committers/ssh access. They are also mirroring to github. I still need to set up gitweb (http://jruby.org/git) and gi

[jruby-dev] [DOWNTIME] Git repositories at jruby.org temporarily unavailable

2012-01-10 Thread Nick Sieger
Please push to the repositories on Github for the time being. I wanted to bring down jruby.org to make some configuration changes, but in the process did not realize that when I initially set up the git repositories (manually), they did not reside on an EBS volume, so they are missing. The upside

Re: [jruby-dev] step 0: running the test suite

2011-12-18 Thread Nick Sieger
On Sun, Dec 18, 2011 at 6:34 AM, Stuart Halloway wrote: >> - Do you have RVM or some other environment variables set that might >> confuse JRuby? (GEM_HOME, RUBYOPT, JRUBY_HOME, etc). >> - Try running with "ant -verbose" and paste/gist a partial build log? >> >> Just throwing out more ideas. >> >

Re: [jruby-dev] step 0: running the test suite

2011-12-15 Thread Nick Sieger
On Mon, Dec 12, 2011 at 7:55 AM, Stuart Halloway wrote: >> Stu, >> >> The property jruby.launcher.gem is empty when you run this. What does >> default.build.properties say? > > build.lib.dir=build_lib > jruby.launcher.gem=${build.lib.dir}/jruby-launcher-1.0.9-java.gem > > The gem file is present

Re: [jruby-dev] Cleaning up CI server

2011-12-06 Thread Nick Sieger
Yeah, it's a real pain. I noticed the other day that no builds were running at all and it was because the /builds mount was out of space. I had to free up a bunch of space and make some other tweaks as well. Travis is looking better all the time. /Nick On Dec 5, 2011, at 11:30 PM, Charles Olive

[jruby-dev] [jira] Created: (JRUBY-6202) JIT-ed class names only use method names, causing collisions

2011-11-10 Thread Nick Sieger (JIRA)
: Compiler Affects Versions: JRuby 1.6.5, JRuby 1.7 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6.6, JRuby 1.7 The JIT compiler calculates method java class names using only the bare method name plus the method contents. So if two unrelated

Re: [jruby-dev] How to isolate load tests

2011-11-07 Thread Nick Sieger
That looks fine. Another way to do it is to use a ScriptingContainer. See spec/java_integration/utilities/jdbc_unloader_spec.rb for an example. /Nick On Mon, Nov 7, 2011 at 3:15 AM, Uwe Kubosch wrote: > Answering my own message: > > I now ensure the code is run in a fresh process like this: > >

[jruby-dev] [jira] Created: (JRUBY-6165) IO.popen forcibly kills process when io is closed

2011-10-26 Thread Nick Sieger (JIRA)
Affects Versions: JRuby 1.6.5, JRuby 1.7 Environment: OS X JDK 1.6.0_26 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.7 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com

Re: [jruby-dev] Code review: configuration cleanup and centralization

2011-10-26 Thread Nick Sieger
Looks good for the most part. Two things I'd like to see: 1. Put the descriptions in javadocs for each field. API docs are going to be more popular for browsing the full set of configuration options. Does the description/toString ever get used in a meaningful way? 2. Do away with the static-ness o

[jruby-dev] [jira] Created: (JRUBY-6134) Regression in DRegexp handling affects open-uri and Bundler

2011-10-11 Thread Nick Sieger (JIRA)
: Core Classes/Modules Affects Versions: JRuby 1.7 Reporter: Nick Sieger Assignee: Charles Oliver Nutter Priority: Critical Fix For: JRuby 1.7 To reproduce, simply require open-uri: {noformat} $ jruby --1.9 -ropen-uri -e 'p OpenURI' R

[jruby-dev] [jira] Created: (JRUBY-5987) Regression: IncludedModuleWrapper does not delegate to new Module autoload map

2011-08-11 Thread Nick Sieger (JIRA)
Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.7 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.7 The moving of the autoload map from a global map in LoadService to a per-module map made a regression in

[jruby-dev] [jira] Created: (JRUBY-5981) Regression: thread-local UTF8_CODER truncates decoded strings to 1024 bytes

2011-08-10 Thread Nick Sieger (JIRA)
Type: Bug Affects Versions: JRuby 1.6.4 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6.4 Test case: {noformat} require 'jruby' str = "." * 2000 rstr = JRuby.reference(str) abort "getUnicodeValue truncated"

Re: [jruby-dev] ant and antcall?

2011-06-22 Thread Nick Sieger
If I recall correctly, antcall is hard-wired to expect that it is getting called from some build.xml file, and it wanted to reload and re-parse the build file in order to setup the new execution context. At the time I was looking at it, I wasn't able to figure out whether it was worth it to try to

Re: [jruby-dev] Redbridge NameError: uninitialized constant Arel::Relation::Session

2011-05-04 Thread Nick Sieger
This looks like a subtle loading/dependencies bug with Arel 1.0, ActiveSupport::Dependencies and the way that you're initializing Rails. I'm not sure exactly what needs to be corrected, but I'd suggest making sure that AS::Dependencies are turned off (i.e, run Rails in production mode with eager lo

[jruby-dev] [jira] Created: (JRUBY-5572) Regression: Dir.foreach("file:some.jar!/path") broken

2011-03-09 Thread Nick Sieger (JIRA)
Regression: Dir.foreach("file:some.jar!/path") broken - Key: JRUBY-5572 URL: http://jira.codehaus.org/browse/JRUBY-5572 Project: JRuby Issue Type: Bug Reporter: N

[jruby-dev] [jira] Created: (JRUBY-5471) private method `verify_mode=' called with Bundler, net/https, jruby-openssl and RubyGems 1.5

2011-02-09 Thread Nick Sieger (JIRA)
-5471 Project: JRuby Issue Type: Bug Components: OpenSSL Affects Versions: JRuby 1.6RC2 Reporter: Nick Sieger Fix For: JRuby 1.6RC3 The RubyGems 1.5.0 upgrade in RC2 brought on this bug. A test case is here: https://gist.github.com/819366 Notabl

[jruby-dev] [jira] Created: (JRUBY-5444) IOJavaAddons.AnyIO pollutes Object unnecessarily

2011-02-03 Thread Nick Sieger (JIRA)
Affects Versions: JRuby 1.6RC1 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6RC2 {noformat} $ jruby -e "require 'java'; require 'stringio'; p Fixnum.method('to_channel')" org/jruby/RubyKernel.java:1988:in `me

[jruby-dev] [jira] Created: (JRUBY-5395) camelCase to snake_case conversion regression

2011-01-20 Thread Nick Sieger (JIRA)
Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6RC2 A recent commit (8ec14c0) changed the camelCase-splitter regex, which broke some method names, in particular, ones with trailing caps such as {{getRequestURI}}. -- This message is automatically generated by

[jruby-dev] [jira] Created: (JRUBY-5388) Requiring a filename with accented characters fails

2011-01-19 Thread Nick Sieger (JIRA)
1.5.6 Reporter: Nick Sieger Assignee: Thomas E Enebo While debugging JRUBY-5345, I came up with this test case: https://gist.github.com/786359 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators

[jruby-dev] [jira] Created: (JRUBY-5265) Signal/process specs failing on Linux/CI

2010-12-20 Thread Nick Sieger (JIRA)
1.5.6, JRuby 1.6 Reporter: Nick Sieger Creating this bug as a placeholder for signal- and process-related specs that are failing on Linux (CI machines, both Gentoo and Ubuntu 10.10). Also, tagging the specs as failing. {noformat} [java] MSPEC: {:compile_mode=>"OFF",

Re: [jruby-dev] Getting the wiki off Kenai: converting MediaWiki markup

2010-11-30 Thread Nick Sieger
On Nov 30, 2010, at 08:50 , Douglas Campos wrote: >> You can obtain a programmatic dump by hitting the Kenai API. Here's a >> starting point: > > Awesome! Makes life easier for me :) > >> If we can make a decent format converter, it would be nice to store >> all the revisions in the new reposito

Re: [jruby-dev] Getting the wiki off Kenai: converting MediaWiki markup

2010-11-30 Thread Nick Sieger
You can obtain a programmatic dump by hitting the Kenai API. Here's a starting point: https://kenai.com/api/projects/jruby/features/wiki You can browse the JSON to see what's there. To obtain actual JSON, just append '.json' to all the URLs. The API should have all the revisions for each of the

Re: [jruby-dev] Autoclosing IO objects and JRUBY-5114

2010-11-24 Thread Nick Sieger
On Wed, Nov 24, 2010 at 2:10 AM, Charles Oliver Nutter wrote: > I committed an update to my fix for JRUBY-5114. Originally I had hoped > we could get away with never autoclosing streams, since users SHOULD > be closing them manually and not leaving them for GC to clean up. > However, that behavior

[jruby-dev] Re: [jruby-scm] Build failed in Hudson: rails-master » activemodel #265

2010-11-09 Thread Nick Sieger
I haven't looked at this yet -- where does linecache come into the line of dependencies? Previously it was through ruby-debug, so if we have the java version installed, we wouldn't run into linecache. Has that changed? /Nick On Sat, Nov 6, 2010 at 4:01 PM, Hirotsugu Asari wrote: > linecache… we

[jruby-dev] [jira] Created: (JRUBY-5098) Kernel#exec does not heed ENV['PATH'] when launching shell command

2010-09-21 Thread Nick Sieger (JIRA)
Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.5.2, JRuby 1.6 Reporter: Nick Sieger A consequence of this, for example, is that running {noformat} jruby -S bundle exec glassfish {noformat} in a Rails project using Bundler results in {noformat} bundler: c

Re: [jruby-dev] Problem running test suite with Java 6 on Mac.

2010-09-14 Thread Nick Sieger
On Tue, Sep 14, 2010 at 8:13 AM, Nick Sieger wrote: > So I don't have any rock solid conclusions, but I can write two > scripts that cause JRuby to hang or deadlock: > > http://gist.github.com/578999 > > Either one will usually hang within 50,000 iterations (a few tens o

Re: [jruby-dev] Problem running test suite with Java 6 on Mac.

2010-09-14 Thread Nick Sieger
On Mon, Sep 13, 2010 at 10:00 AM, Nick Sieger wrote: > On Mon, Sep 13, 2010 at 1:53 AM, Ola Bini wrote: >> Haven't built JRuby in a while, and now suddenly I have problems running the >> test suite. Specifically, it hangs for Java 6 during the Testsuite: >> org.jruby.te

Re: [jruby-dev] Problem running test suite with Java 6 on Mac.

2010-09-13 Thread Nick Sieger
On Mon, Sep 13, 2010 at 1:53 AM, Ola Bini wrote: > Haven't built JRuby in a while, and now suddenly I have problems running the > test suite. Specifically, it hangs for Java 6 during the Testsuite: > org.jruby.test.JRubyTestSuite step. Is anyone else seeing this? > > It works fine with Java 5. > >

[jruby-dev] [jira] Created: (JRUBY-5061) Add ability to specify bytecode version with jruby

2010-09-02 Thread Nick Sieger (JIRA)
Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6 >From pull request from Paul Brown: http://github.com/jruby/jruby/pull/3 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrat

Re: [jruby-dev] My JRuby dev presentation materials

2010-08-24 Thread Nick Sieger
On Aug 24, 2010, at 22:21 , Hiroshi Nakamura wrote: > Hi, > > II'm preparing for my presentation at JRubyKaigi2010 which will be > held on this weekend. > http://jrubyconf.com/jrubykaigi2010/schedule.html.en#6 > > I've not yet created final slides but can I ask you comments to my > materials? I

Re: [jruby-dev] HTTP Access to JRuby Git Repo?

2010-08-18 Thread Nick Sieger
I just set up experimental http access on jruby.org. Can you try this? git clone http://jruby.org/repo/jruby.git /Nick On Tue, Aug 17, 2010 at 10:04 PM, redstun wrote: > Great http://github.com/jruby/jruby.git works, thank you Hirotsugu. > On Wed, Aug 18, 2010 at 10:51 AM, Hirotsugu Asari > wr

[jruby-dev] [jira] Created: (JRUBY-4954) respond_to? caches/returns incorrect result

2010-07-20 Thread Nick Sieger (JIRA)
Versions: JRuby 1.5.1 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6 RespondToCallsite doesn't include visibility check in the cache tuple, thus multiple calls through the call site with different values turn up incorrect results. Thi

[jruby-dev] [jira] Created: (JRUBY-4889) Regexp caches don't invalidate if $KCODE changes

2010-06-17 Thread Nick Sieger (JIRA)
dules Affects Versions: JRuby 1.5.1 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6 $KCODE doesn't change often, but ActiveSupport::Multibyte tests change it frequently. This causes issues with literal caching that doesn't take $KCOD

[jruby-dev] [jira] Created: (JRUBY-4885) Raise in else block should not get re-caught by prior rescue

2010-06-16 Thread Nick Sieger (JIRA)
: Core Classes/Modules Affects Versions: JRuby 1.5.1 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.6 The following simple test case fails on JRuby but succeeds on 1.8 and 1.9. {noformat} require 'test/unit' class Foo def tes

[jruby-dev] [jira] Created: (JRUBY-4838) JRuby exit hangs on ChannelStream.finalize

2010-05-31 Thread Nick Sieger (JIRA)
Versions: JRuby 1.5 Environment: OSX 10.6.3 jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-05-28 2bf18ff) (Java HotSpot(TM) Client VM 1.6.0_20) [i386-java] Reporter: Nick Sieger When a JRuby process starts a TCPServer that may be in the middle of reading, it hangs even if

[jruby-dev] [jira] Created: (JRUBY-4821) Bundler.setup sets $! which disables Test::Unit::Autorunner

2010-05-24 Thread Nick Sieger (JIRA)
: JRuby 1.5 Environment: OSX jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-05-24 7b76286) (Java HotSpot(TM) Client VM 1.6.0_17) [i386-java] Reporter: Nick Sieger Assignee: Nick Sieger Something in Bundler.setup is causing $! to be set, which defeats the Test

[jruby-dev] [jira] Created: (JRUBY-4796) Regression: Java classes are not initialized when loaded

2010-05-17 Thread Nick Sieger (JIRA)
Integration Affects Versions: JRuby 1.5 Reporter: Nick Sieger We'll probably revert 61a000f, which is compiler-friendly but less user-friendly (in this case because of JDBC drivers). See the thread at http://www.ruby-forum.com/topic/209741#912610. -- This message is automati

[jruby-dev] [ANN] JRuby 1.5.0 Released

2010-05-12 Thread Nick Sieger
The JRuby community is pleased to announce the release of JRuby 1.5.0. - Homepage: [http://www.jruby.org/](http://www.jruby.org/) - Download: [http://www.jruby.org/download](http://www.jruby.org/download) This development cycle has been our longest cycle yet (nearly 5 months), but it also has th

Re: [jruby-dev] jruby-spec-ibmjava6

2010-04-28 Thread Nick Sieger
On Wed, Apr 28, 2010 at 8:30 AM, Hirotsugu Asari wrote: > I'm mostly curious if giving more memory to this project makes it go green. > Apparently, 512 MB is not enough. > > http://ci.jruby.org/job/jruby-spec-ibmjava6/132/console Possibly, we could try. Also, the sleep spec failing due to inaccu

[jruby-dev] [ANN] JRuby 1.4.1 - Fixes XSS Vulnerability in JRuby 1.4.0 - Recommended Upgrade

2010-04-26 Thread Nick Sieger
Today we’re releasing JRuby 1.4.1 as a recommended upgrade for all previous versions of JRuby. Previous versions contained a bug in JRuby’s regular expression engine that could allow an attacker to perform, for example, an XSS attack on a web application running under JRuby. http://www.jruby.or

Re: [jruby-dev] Need eyes on the "Exception rescues Java exceptions" fix

2010-04-07 Thread Nick Sieger
On Wed, Apr 7, 2010 at 5:17 AM, Charles Oliver Nutter wrote: > I committed (and merged" a fix for JRUBY-4677 in 323ba1e. For those of > you who don't have all ~5000 JRuby bugs memorized, this is the issue > where "rescue Exception" did not rescue non-Ruby Java exceptions. The > fix works like it s

Re: [jruby-dev] JRuby source code tree problem

2010-03-31 Thread Nick Sieger
On Wed, Mar 31, 2010 at 3:15 AM, Vladimir Sizikov wrote: > Yep, indeed. The two repos have diverged. The only explanation I have > is that MenTaLguY had committed to github repo directly, while we > typically commit to jruby.org one. And since then, it became > impossible to "sync" jruby.org repo

Re: [jruby-dev] JRUBY-2518 seems to have returned

2010-03-15 Thread Nick Sieger
On Sun, Mar 14, 2010 at 9:48 PM, James Britt wrote: > Current github head breaks when doing a Dir.glob on a jar.  Some Monkeybars > code that used to work now fails because it can no longer munge $:. >  Dir.glob finds class files, but never reports any directories. > > I tried Logan's spec code fr

Re: [jruby-dev] Tag for activerecord-jdbc-0.9.3?

2010-03-15 Thread Nick Sieger
On Sun, Mar 14, 2010 at 12:15 PM, David Kellum wrote: > Hey could someone in the know put a v0.9.3 tag on the git repo's for > activerecord-jdbc?  There isn't one in github or kenai.  Its currently hard > to tell what was released as 0.9.3 vs what is post development. 0.9.3 tag is on Github now,

[jruby-dev] [jira] Created: (JRUBY-4633) RubyZip test failures with Tempfile creation

2010-03-09 Thread Nick Sieger (JIRA)
: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.5 A bunch of RubyZip tests are failing, rendering it unusable for creating zip files. The errors are shown in http://gist.github.com/326814, one of which is excerpted below: {noformat} 1) Error: test_add(ZipFileTest

Re: [jruby-dev] Wrapping up 1.5

2010-03-08 Thread Nick Sieger
On Sun, Mar 7, 2010 at 2:50 PM, Charles Oliver Nutter wrote: > Ok, we want to go to RC real soon now. Here's a few things I think are > still left unresolved that we need to deal with: > > * Bugs marked for 1.5 (44 of them). Obviously we're not going to get > them all in, so we need to start whitt

[jruby-dev] bin/jruby is now an ignored file

2010-02-24 Thread Nick Sieger
FYI, this commit (http://bit.ly/9lpdrz) removes "bin/jruby". "bin/jruby" is now an ignored file and will be missing initially when you pull the latest from master. In order to get it back, simply run "ant init". This copies the shell script to "bin/jruby" so you can continue running JRuby. The nat

Re: [jruby-dev] Net::HTTP hangs in JRuby on Rails app - please help!

2010-01-15 Thread Nick Sieger
On Fri, Jan 15, 2010 at 1:10 PM, oaw wrote: > > I'm on JRuby 1.4.0 (JDK version 1.6.0_17). The following code hangs my JRuby > on Rails app. > > require 'net/http' > require 'timeout' > > begin >   Timeout::timeout(5) do >       res = > Net::HTTP.get_response("http://localhost:8080/projects/1/emai

[jruby-dev] [jira] Created: (JRUBY-4465) Java interface module method binding reorganization

2010-01-12 Thread Nick Sieger (JIRA)
Reporter: Nick Sieger We may be able to gain some efficiency and improved "principle of least surprise" by moving method bindings/definitions for java interfaces to the interface modules we create on the Ruby side. For example, in http://gist.github.com/275481, java.util

Re: [jruby-dev] Add dependency libraries as submodules?

2009-12-14 Thread Nick Sieger
On Mon, Dec 14, 2009 at 1:15 AM, Charles Oliver Nutter wrote: > Sergio (serabe) suggested adding ByteList as a submodule in Git. It > seems like a good idea; we could keep them separate repositories, but > still have the source available for debugging. I'm no expert on > submodules, though, so I'm

[jruby-dev] [jira] Created: (JRUBY-4341) Byte-array-based LexerSource

2009-12-09 Thread Nick Sieger (JIRA)
Byte-array-based LexerSource Key: JRUBY-4341 URL: http://jira.codehaus.org/browse/JRUBY-4341 Project: JRuby Issue Type: Improvement Components: Parser, Performance Reporter: Nick Sieger

Re: [jruby-dev] Reified classes referring to one another

2009-11-24 Thread Nick Sieger
On Tue, Nov 24, 2009 at 10:37 AM, Chris Nelson wrote: > Charles, Tom, et all, > > Was discussing this in IRC just now and thought I'd ask it here too.  I'm > about to start in on adding relationship support to jruby-hibernate and ran > into the following conundrum.  Let's say I have 2 classes, Eve

Re: [jruby-dev] JDBC driver leak

2009-11-10 Thread Nick Sieger
On Mon, Nov 9, 2009 at 7:25 PM, Vivek Pandey wrote: > I am investigating memory leak related to hot deployment of Rails > application on GlassFish. One of the hanging references is the JDBC driver, > in this case: org.sqlite.JDBC. The class loader is > org.jruby.util.JRubyClassLoader. Have you be

[jruby-dev] [jira] Created: (JRUBY-4224) "Included" interfaces should be added to reified Java class

2009-11-09 Thread Nick Sieger (JIRA)
Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.5 Placeholder for forthcoming specs and implementation for adding interfaces in reified classes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the admi

Re: [jruby-dev] Active-Record jdbc adapter for OpenEdge databases

2009-11-09 Thread Nick Sieger
On Mon, Nov 9, 2009 at 7:49 AM, Philippe Cantin wrote: > Hey ! > > We work for 2 monthes on an adaptor for Progress OpenEdge Databases(1). > First release is up, with units tests and moreover tested in "real word" on > a big project for one of our customers. > It works really fine for now, and we'

[jruby-dev] [jira] Created: (JRUBY-4211) Segfault when accessing Etc functions

2009-11-03 Thread Nick Sieger (JIRA)
Segfault when accessing Etc functions - Key: JRUBY-4211 URL: http://jira.codehaus.org/browse/JRUBY-4211 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.5 Reporter: Nick Sieger

[jruby-dev] [jira] Created: (JRUBY-4179) [regression] [1.8] Dir.mkdir should accept any arg that responds to #to_s

2009-10-28 Thread Nick Sieger (JIRA)
: Bug Affects Versions: JRuby 1.3, JRuby 1.2, JRuby 1.4 Reporter: Nick Sieger Assignee: Thomas E Enebo Fix For: JRuby 1.4 Consider: {noformat} $ ruby -v -e 'require "pathname"; p Dir.mkdir(Pathname.new("heh"))' ruby 1.

Re: [jruby-dev] Preinstall ruby-debug and rcov?

2009-10-28 Thread Nick Sieger
On Tue, Oct 27, 2009 at 2:09 PM, Rob Heittman wrote: > I'd use it, and the tools you mentioned are not too heavy, but it might > create a little confusion too depending on the implementation.  Were you > thinking of "j___" versions of any binaries (as, e.g. jirb, so jrcov ...)? >  Or keep the nati

Re: [jruby-dev] Merging codebase (Re: [jruby-dev] [ANN] New Committer: Yoko Harada (yokolet))

2009-10-17 Thread Nick Sieger
On Fri, Oct 16, 2009 at 1:02 PM, Yoko Harada wrote: > On Wed, Oct 14, 2009 at 5:57 PM, Yoko Harada wrote: >> META-INF/services/javax.script.ScriptEngineFactory is missing in a >> compiled archive. I'm trying to find a way to add this. > > Let me ask this change is reasonable or not since this is

Re: [jruby-dev] Some thoughts on Jibernate

2009-10-14 Thread Nick Sieger
api is not as friendly as AR or DM. Hey Ola! Care to weigh in? :) David, if you have an interest and could poke Ola to see what he thinks, that would be great. He might not read every message on the ML. Thanks, /Nick > > On Mon, Oct 12, 2009 at 5:57 PM, Nick Sieger wrote: >> >&g

[jruby-dev] [jira] Created: (JRUBY-4093) Hanging IO::popen specs when #close is called on the IO object

2009-10-12 Thread Nick Sieger (JIRA)
Components: Core Classes/Modules Affects Versions: JRuby 1.4.0RC1 Reporter: Nick Sieger As of the time the ticket was filed, these are the names of the tagged and hanging specs: * core/io/close_tags.txt: IO#close on an IO.popen stream clears #pid * core/io/close_tags.txt: IO#close on an

Re: [jruby-dev] Some thoughts on Jibernate

2009-10-12 Thread Nick Sieger
On Fri, Oct 9, 2009 at 5:29 AM, David Calavera wrote: > Hi, > > I've been hacking around Jibernate and I'd like to start an open discussion > about the project and its future. > > Right now the project is not useful at all, it's just a wrapper to create > basic models with attributes, it has some

Re: [jruby-dev] JI behavioral change for JRUBY-4039

2009-10-09 Thread Nick Sieger
On Wed, Oct 7, 2009 at 8:06 PM, Charles Oliver Nutter wrote: > JRUBY-4039 demonstrates a breakage in JRuby where previously a Ruby > Array used as a List would coerce Fixnum contents only to Long > objects. In 1.4.0RC1, this broke because of a unification of some > coercion logic...the merged logi

Re: [jruby-dev] bin/rake

2009-09-26 Thread Nick Sieger
We could also just add "jruby -S generate_bat_stubs" to our build/ release process, and un-commit rake.bat. /Nick On Sep 26, 2009, at 11:50 , Thomas E Enebo wrote: When we perform a build from source we install rake as a gem, so it adds 'rake' to bin during build. I believe we needed somethin

[jruby-dev] [jira] Created: (JRUBY-3948) ActiveSupport::Multibyte utils test failures

2009-09-04 Thread Nick Sieger (JIRA)
: JRuby 1.3.1 Reporter: Nick Sieger Assignee: Thomas E Enebo We ran activesupport cleanly at some point, but we have a couple of new test failures due to the [recent UTF-8 XSS vulnerability issue|http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails

Re: [jruby-dev] 1.9 mode IRB is busted on github HEAD

2009-09-03 Thread Nick Sieger
Try master as of 42be6f7d772e99724897d19c31fee3fa2010171e. /Nick On Sep 3, 2009, at 17:57 , Hirotsugu Asari wrote: Currently, 'jruby --1.9 -S irb' dies with: /Users/asari/Development/src/jruby/lib/ruby/1.9/irb/magic-file.rb: 13:in `open': can't convert nil into String (TypeError) from /User

Re: [jruby-dev] JRuby exec itself

2009-09-03 Thread Nick Sieger
On Thu, Sep 3, 2009 at 4:24 AM, Daniel Hahn wrote: > Hello, > > I'm trying to use the "backgroundjob" rails thingy with jruby (which uses a > "systemu" library to #exec scripts). However, there's some unexpected > bahaviour and I'd like to know what's going on behind the scenes... > > At the moment

[jruby-dev] [jira] Created: (JRUBY-3940) Rubyspec: Kernel#== compare spec failing

2009-09-02 Thread Nick Sieger (JIRA)
1.3.1 Environment: jruby 1.4.0dev (ruby 1.8.7p174) (2009-09-02 3f1e697) (Java HotSpot(TM) Client VM 1.5.0_19) [i386-java] Reporter: Nick Sieger {noformat} 1) Kernel#=== for a class with #== overridden to consider other object's class returns true if #== returns true ev

[jruby-dev] [jira] Created: (JRUBY-3939) Rubyspec: Bignum#== value specs failing

2009-09-02 Thread Nick Sieger (JIRA)
Environment: jruby 1.4.0dev (ruby 1.8.7p174) (2009-09-02 3f1e697) (Java HotSpot(TM) Client VM 1.5.0_19) [i386-java] Reporter: Nick Sieger {noformat} 7) Bignum#== calls 'other == self' if the given argument is not an Integer FAILED Expected false to equal tr

[jruby-dev] [jira] Created: (JRUBY-3938) Rubyspec: Struct specs with recursive arrays

2009-09-02 Thread Nick Sieger (JIRA)
: JRuby 1.3.1 Environment: jruby 1.4.0dev (ruby 1.8.7p174) (2009-09-02 3f1e697) (Java HotSpot(TM) Client VM 1.5.0_19) [i386-java] Reporter: Nick Sieger The following recently-added specs that deal with recursive arrays are failing: {noformat} Struct#eql? handles recursive

Re: [jruby-dev] using regular expressions into jruby code

2009-08-28 Thread Nick Sieger
On Fri, Aug 28, 2009 at 2:58 AM, David Calavera wrote: > Hi, I'm working in a patch for an issue and I want to use a regular > expression to solve it but I have a question, what regular expression engine > should I use, java default pattern classes or joni engine? is there any > convention for that

Re: [jruby-dev] Policy concerning lib/ruby/1.9 & lib/ruby/1.8

2009-08-27 Thread Nick Sieger
On Thu, Aug 27, 2009 at 7:36 PM, Hirotsugu Asari wrote: > What is the policy about these directories, which I assume are copies of > MRI's counterparts. When do they get synchronized with MRI? There's no strict policy, but we try to upgrade them wholesale when a particular release or patchlevel of

Re: [jruby-dev] executing jirb from jruby source code

2009-08-27 Thread Nick Sieger
On Thu, Aug 27, 2009 at 10:22 AM, David Calavera wrote: > Hi I'm trying to check a jirb bug is fixed, > http://jira.codehaus.org/browse/JRUBY-3918, but I suspect when I run jirb > from jruby source code it's still using my jruby installation libraries. Is > there a way to run jirb with the developm

Re: [jruby-dev] Restructured jruby-complete fixes bugs, but...?

2009-08-24 Thread Nick Sieger
Sounds good to me. I'm on board with the change and don't expect it to cause any major problems on the warbler/packaged Rails app front. That said, some testing is still needed from my side too. /Nick On Mon, Aug 24, 2009 at 1:34 AM, Charles Oliver Nutter wrote: > I just decided to optimistically

[jruby-dev] [jira] Created: (JRUBY-3886) Rubyspec failures: Regexps with modifers does not do thread synchronization for /o

2009-08-17 Thread Nick Sieger (JIRA)
Issue Type: Bug Affects Versions: JRuby 1.3.1 Reporter: Nick Sieger Assignee: Thomas E Enebo -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure

[jruby-dev] [jira] Created: (JRUBY-3884) Rubyspec failures: Dir#inspect includes the directory name

2009-08-17 Thread Nick Sieger (JIRA)
1.3.1 Reporter: Nick Sieger Assignee: Thomas E Enebo -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see

[jruby-dev] [jira] Created: (JRUBY-3885) Rubyspec failures: Enumerable#none?

2009-08-17 Thread Nick Sieger (JIRA)
Rubyspec failures: Enumerable#none? --- Key: JRUBY-3885 URL: http://jira.codehaus.org/browse/JRUBY-3885 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.3.1 Reporter: Nick Sieger

Re: [jruby-dev] backtraces and the boundary between Ruby and Java code

2009-08-17 Thread Nick Sieger
On Mon, Aug 17, 2009 at 2:16 AM, Andy Davey wrote: > I am having problems with backtraces between ruby code and a java exception. > The following test will fail: > import org.jruby.test.TestHelper > def test_java_backtrace >   TestHelper.throwTestHelperException > rescue NativeException => ex >   b

[jruby-dev] [jira] Created: (JRUBY-3799) Bug in native timeout module causes hang when waiting on IO

2009-07-07 Thread Nick Sieger (JIRA)
: JRuby 1.3.1 Reporter: Nick Sieger Assignee: Thomas E Enebo Priority: Critical >From a conversation with Charlie: {quote} Nick Sieger wrote: > On Jul 2, 2009, at 10:18 , Nick Sieger wrote: >> We had a problem in kenai.com production yesterday morning

Re: [jruby-dev] Ruby Parser

2009-06-30 Thread Nick Sieger
Jun 30, 2009 at 11:42 AM, Alberto Bacchelli wrote: > It is exactly what I was looking for! Thank you! > Do you know if there is some documentation/examples for it somewhere? > > Thank you again, > Alberto > > 2009/6/26 Nick Sieger : >> On Fri, Jun 26, 2009 at 12:06 PM, Alb

Re: [jruby-dev] Ruby Parser

2009-06-26 Thread Nick Sieger
On Fri, Jun 26, 2009 at 12:06 PM, Alberto Bacchelli wrote: > Hi, > > I am trying to extract the object-oriented model of a generic Ruby system. > > It means that I would like to know: > > class names, > methods in each class, > methods arguments, > lines of code per method, > class hierarchies, > .

Re: [jruby-dev] Problms with JRuby in Eclipse

2009-06-25 Thread Nick Sieger
On Thu, Jun 25, 2009 at 4:04 AM, Craig Taverner wrote: > Thanks Nick, > > Your explanation certainly derails my previous 'theory' :-( > >> We're working with pathnames here, not contents, so we don't actually go >> so far as to open the URL or get its contents, so I'm not sure that what >> you're d

Re: [jruby-dev] Problms with JRuby in Eclipse

2009-06-23 Thread Nick Sieger
On Tue, Jun 23, 2009 at 8:03 AM, Craig Taverner wrote: > Hi, > > This is my take on the problem - If we register a URL handler, it will > handle all cases. And it will not require any changes to JRuby itself. > Consider this scenario. The URL created looks like this: > > bundleresource://9/./some

Re: [jruby-dev] Problms with JRuby in Eclipse

2009-06-22 Thread Nick Sieger
On Mon, Jun 22, 2009 at 11:26 AM, Lagutko Nikolay < nikolay.lagu...@gersis-software.com> wrote: > Hi, > > > > I have a problem with working with JRuby in Eclipse. If required scripts > stored not in classpath directories but in other plugins JRuby cannot find > them. As I see the problem in Equin

[jruby-dev] [jira] Created: (JRUBY-3755) Stderr not printed to console with Rake/JRuby subprocesses

2009-06-14 Thread Nick Sieger (JIRA)
1.3 Reporter: Nick Sieger Assignee: Thomas E Enebo Priority: Critical Fix For: JRuby 1.4 Clone the following gist and run Rake to reproduce. Under 1.2, stderr is correctly shown. Under 1.3 (as of commit 14f69b67b7710129a0fa099be611360df1f78016

[jruby-dev] [jira] Created: (JRUBY-3744) Ruby BigDecimal vulnerability seems to affect JRuby as well

2009-06-09 Thread Nick Sieger (JIRA)
: Core Classes/Modules Affects Versions: JRuby 1.3 Reporter: Nick Sieger Priority: Critical Fix For: JRuby 1.4 Ruby announced a security vulnerability in BigDecimal. See http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/ for details

[jruby-dev] [jira] Created: (JRUBY-3708) Rubyspec: Struct#initialize behavior

2009-05-27 Thread Nick Sieger (JIRA)
Rubyspec: Struct#initialize behavior Key: JRUBY-3708 URL: http://jira.codehaus.org/browse/JRUBY-3708 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.3RC1 Reporter: Nick Sieger

[jruby-dev] [jira] Created: (JRUBY-3707) Rubyspec: Process egid behavior

2009-05-27 Thread Nick Sieger (JIRA)
Rubyspec: Process egid behavior --- Key: JRUBY-3707 URL: http://jira.codehaus.org/browse/JRUBY-3707 Project: JRuby Issue Type: Bug Reporter: Nick Sieger Assignee: Thomas E Enebo

  1   2   3   >