Nikolay Gorylenko (Migrated from SEC-1337) said:
Exception while storing session to disk or database.
Comparator in User.java should be serializable, see attached patch for implementation idea.
Nikolay Gorylenko said:
please remove first attachment
Unable to delete attached files by myself, so please keep "User.java-patch-2" only and delete "User.java-patch" files.
Luke Taylor said:
Thanks for spotting this. I've updated the code to remove the inline comparator class.
Luke, thanks for quick response.
Please remove attached "User.java-patch" files
Luke, please substitute
private static class GrantedAuthorityComparator implements Comparator
private static class GrantedAuthorityComparator implements java.io.Serializable, Comparator
Inner class should also be serializable
Yeah, I already did. I'm using an intermediate git repository though, so the changes aren't always pushed to svn immediately.
Okay, got it.
Can you now remove two attached files "User.java-patch", please?