http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getName()

On 15 Feb 2010, at 05:40, Johnnie Walker wrote:

Hi,

I might be my environment but could somebody else please check if they
can replicate this:

URLFetchService f=URLFetchServiceFactory.getURLFetchService();
HTTPResponse r=f.fetch(new URL(url));

If then I execute this line:
r.getContent().getClass().getName()

it returns this:
[B      (Yes, square bracket and uppercase B)

When I am expecting:
byte[]

What am I doing wrong? is this a bug?

I am using sdk 1.3.1 with Groovy/Grails

Thanks

JT.

-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected] . To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en .


--
You received this message because you are subscribed to the Google Groups "Google 
App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to