I suppose it's good to see that we're entering the realm not of regressions, but of oddities in new functionality. This issue and the lazy-loading methods issue are not really regressions in my mind, but newer areas needing improvement or refinement. I think it's a valid distinction between that and breaking interpreter-level items that should continue to work today, since these areas are still someone fluid.

Long story short, I think it's a positive sign that we've gotten through many interpreter issues. Thanks so much for your help, David.

On 3/16/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote:
On Thu, 16 Mar 2006, David Corbin defenestrated me:

> This might be related to #7, but I don't think so. (And yes, it is stupid, but
> it's much more complex than this in our code).
>
> ---cut---
> require 'java'
> include_class 'java.util.ArrayList '
> include_class 'java.util.ArrayList'
> ---end---

I made a change about a month ago, which now throws an exception
(do not have jruby source handy right now and I cannot quite rememebr
what I called it) when you include_class on top of a constant which
already exists.

This change was in reaction to someone doing an include class when
there was already a constant of the same name.  We need to provide some
way to know include_class failed.

I think I can fix this bug by seeing if we already defined the same proxy
and then see if the conflict is that proxy...In which case, we should
just return without error since it is just carrying out the spirit
of the function: ArrayList is included into the current scope.  I will
fix this evening.

-Tom

--
+ http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+
| Thomas E Enebo, Protagonist  | "Luck favors the prepared    |
|                              |  mind." -Louis Pasteur       |


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel



--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com

Reply via email to