Example

public class ClassA {
public void test () {
SimpleDateFormat sdf = new SimpleDateFormat();
}
}

Solution
Always add a Locale argument to a SimpleDateFormat variable declaration

public class ClassA {
public void test () {
Locale loc = Locale.US ;
SimpleDateFormat sdf = new SimpleDateFormat("", loc);
}
}