Since GAE SDK 1.6.6, my previously working code (GAE SDK 1.6.5) is not 
working anymore. The problem is related to the creation of 
UrlFetchTransport. I reduced the problem to the bare minimum in a 
BadClassTest class;

When my BadClassTest looks like this :

public class BadClassTest {

    public BadClassTest() {
        com.google.api.client.http.HttpTransport HTTP_TRANSPORT = new 
com.google.api.client.extensions.appengine.http.urlfetch.UrlFetchTransport();
    }

}

then I *can* create an instance.

When my BadClassTest looks like this :

public class BadClassTest {

    com.google.api.client.http.HttpTransport HTTP_TRANSPORT = new 
com.google.api.client.extensions.appengine.http.urlfetch.UrlFetchTransport();

    public BadClassTest() {
        //com.google.api.client.http.HttpTransport HTTP_TRANSPORT = new 
com.google.api.client.extensions.appengine.http.urlfetch.UrlFetchTransport();
    }

}

I *cannot* create an instance of BadClassTest now. I run into following 
exception :

*java.lang.VerifyError: (class: com/klawt/server/BadClassTest, method: 
signature: ()V) Bad type in putfield/putstatic*

*
*

see also : 
http://stackoverflow.com/questions/10764671/verifyerror-after-upgrading-to-appengine-1-6-6-cannot-create-instance-of-urlfet


** cross-posted in google-api-java-client group 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/8zNuVpniEqcJ.
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?hl=en.

Reply via email to