I'm debugging my java code but eclipse keeps stopping as if I have a breakpoint in the following code (the code is from java's HttpURLConnection, line 550):
@SuppressWarnings("deprecation")
public long getHeaderFieldDate(String name, long Default) {
String dateString = getHeaderField(name);
try {
if (dateString.indexOf("GMT") == -1) { // stops here
dateString = dateString+" GMT";
}
return Date.parse(dateString);
} catch (Exception e) {
}
return Default;
}
DateString
is null.
Note I DID uncheck "stop at unchecked exceptions" in windows > preferences > java > debug but even so the problem persists.