[SYNCOPE-340] Applying provided patch

git-svn-id: https://svn.apache.org/repos/asf/syncope/branches/1_0_X@1467179 13f79535-47bb-0310-9956-ffa450edef68
Reverting to a Java 6 compatible variant for creating new Locale

git-svn-id: https://svn.apache.org/repos/asf/syncope/branches/1_0_X@1467182 13f79535-47bb-0310-9956-ffa450edef68