logo       

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

lang.jruby.user

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Werner Schuster (murphee) wrote:

> However: when I execute the sample
>
> include_class "java.lang.reflect.Array" { |p,name| "J" + name }
>
> I get: "syntax error".

Hmm, I think I've seen that before. Try do ... end rather than { ... }?

Damian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD8d1MAyLCB+mTtykRAqvLAJ9D+5NRrNs5n+9vpbYbT0WYI77UQQCgql6K
r043j0PJWiikViLwjtaUNYc=
=1NdL
-----END PGP SIGNATURE-----


-------------------------------------------------------
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