An infinite loop occurs while trying to precompute the SINGLE_WIDTH
CharMatcher instance after upgrading from GData API v1.24 to GData API
v1.27 under JDK1.5 on OS X. Here is the stack trace from our
application:

Thread [Thread-1] (Suspended)
       CharMatcher$15.setBits(CharMatcher$LookupTable) line: 455
       CharMatcher$Or.setBits(CharMatcher$LookupTable) line: 579
       CharMatcher$Or(CharMatcher).precomputed() line: 595
       CharMatcher.<clinit>() line: 321
       StringUtil.megastrip(String, boolean, boolean, String) line:
335
       StringUtil.strip(String) line: 377
       StringUtil.string2Map(String, String, String, boolean) line:
1916
       GoogleAuthTokenFactory.getAuthToken(String, String, String,
String,
String, String) line: 426
       GoogleAuthTokenFactory.setUserCredentials(String, String,
String,
String) line: 301
       ContactsService(GoogleService).setUserCredentials(String,
String,
String, String) line: 323
       ContactsService(GoogleService).setUserCredentials(String,
String)
line: 300

I can also reproduce the same symptom using the following test class:

public class TestCharMatcher {

       /**
        *
        */
       public TestCharMatcher() {
               super();
       }

       public static void main(String[] args) {
               CharMatcher matcher = CharMatcher.anyOf
(StringUtil.WHITE_SPACES);
               System.out.println(matcher);
       }
}

With the following stack trace:

Thread [main] (Suspended)
       CharMatcher$15.setBits(CharMatcher$LookupTable) line: 455
       CharMatcher$Or.setBits(CharMatcher$LookupTable) line: 579
       CharMatcher$Or(CharMatcher).precomputed() line: 595
       CharMatcher.<clinit>() line: 321
       TestCharMatcher.main(String[]) line: 20

I was wondering if this was a known issue.

regards,
chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data Protocol" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to