douglascrockford/JSON-java — pull request #52 by bpieber (2012-04-13 08:29:53+00:00)
Title: Make test run on german locale.

Hi Douglas,

Out of the box the test failed with the exception below. We think it may be because of my German locale. Our change makes the test green.

Thanks for providing the code!

Cheers,
Bernhard & Görge

java.util.MissingResourceException: Can't find bundle for base name org.json.tests.SampleResourceBundle, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
at org.json.JSONObject.(JSONObject.java:321)
at org.json.tests.TestJSONObject.testConstructor_UsResourceBundle(TestJSONObject.java:690)