logo       

Re: java.lang.reflect.Array considered harmful?: msg#00029

lang.jruby.user

Subject: Re: java.lang.reflect.Array considered harmful?

Charles O Nutter wrote:

I believe there's a syntax something like this, but I haven't tried to
use it before this and it doesn't seem completely stable. Tom?

include_class "java.lang.String"

x = String[].new(5)


Wouldn't that replace the Ruby String class?

murphee
--
Blog @ http://jroller.com/page/murphee


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise