Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run JMockit within Kubernetes Pod: java.util.Currency throws IllegalArgumentException #448

knob-creek opened this issue Aug 22, 2017 · 0 comments


Copy link

@knob-creek knob-creek commented Aug 22, 2017

Please provide the following information:

  • Version of JMockit that was used:

  • Description of the problem:
    When run inside a Kubernetes Pod, JMockit tests do no initialize properly. There is an IllegalArgumentException in
    JMockitInitialization.preventEventualClassLoadingConflicts (

Obviously, there is a weird Default Locale with (probably) empty country, which Currency rejects.
Maybe, a well known Locale (like Locale.German or whichever you prefer) should be used here.

@rliesenfeld rliesenfeld self-assigned this Aug 22, 2017
@jmockit jmockit locked and limited conversation to collaborators Oct 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

No branches or pull requests

2 participants