Java fails to read numeric opensrf config values
Bug #1090463 reported by
Bill Erickson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenSRF |
Fix Released
|
Undecided
|
Unassigned | ||
2.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Recent changes to the Java JSON library are causing problems with the OpenSRF Java configuration file parsing.
See working => user/berick/
From the commit:
=====
Java config parsing, in particular getString and getInt, no longer fail when encountering a number value in the internl JSON->Map object.
Java does not allow the following cast:
String s = (String) someNumber;
Instead, rely on the object's toString() which is safe and guaranteed to exist.
====
Changed in opensrf: | |
milestone: | 2.1.3 → 2.2.0-alpha |
Changed in opensrf: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Yeah, I have that commit, too, and still Java doesn't work for me.