tazmaniac
unread,Dec 16, 2008, 10:16:53 AM12/16/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Data Protocol
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