Modify @Condition for detecting existing message bundle resource

The problem with the old code is that it worces a ResourceBundle to
initialize with the default encoding (and that is then cached in the
JDK) during @Condition evaluation (so before the encoding is known).

Includes test for swedish messages

Fixes gh-1228
This commit is contained in:
Dave Syer
2014-07-10 12:38:37 +01:00
parent f7a5ee3bcc
commit ede385d1b6
3 changed files with 32 additions and 14 deletions

View File

@@ -0,0 +1 @@
foo=Some text with some swedish öäå!