-
Enhancement
-
Resolution: Fixed
-
P4
-
25
-
None
-
b18
Currency.getInstance(String) can throw IllegalArgumentException with no context or message. Let's improve it. It should at least print the value of the string passed to the getInstance call.
jshell> Currency c = Currency.getInstance("TEST")
| Exception java.lang.IllegalArgumentException
| at Currency.getInstance (Currency.java:321)
| at Currency.getInstance (Currency.java:302)
| at (#2:1)
jshell> Currency c = Currency.getInstance("TEST")
| Exception java.lang.IllegalArgumentException
| at Currency.getInstance (Currency.java:321)
| at Currency.getInstance (Currency.java:302)
| at (#2:1)
- relates to
-
JDK-8314611 Provide more explicative error message parsing Currencies
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/5cac5796
-
Review(master) openjdk/jdk24u/182
-
Review(master) openjdk/jdk/24459