HashMap.null Doesn't use 'nil', but then I guess it is a Java null you're passing into the method... Handily can't conflict with a Java field name.
I have almost no idea of how this would be implemented though, so perhaps this suggestion's a really bad one ;) Martin 2009/8/6 Thomas E Enebo <[email protected]>: > nil.to_java(HashMap) > > -Tom > > On Thu, Aug 6, 2009 at 1:50 AM, Charles Oliver > Nutter<[email protected]> wrote: >> This is an important one: >> >> http://jira.codehaus.org/browse/JRUBY-3865 >> >> It's definitely not a hypothetical situation, and I have had this come >> up a few times myself. Perhaps we can have some discussion here or on >> the bug about what our casting syntax should look like? >> >> - Charlie >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > > > -- > blog: http://blog.enebo.com twitter: tom_enebo > mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
