Fatal error when resource cannot be resolved
Richard Bair
richard.bair at oracle.com
Mon Aug 20 07:12:59 PDT 2012
I couldn't agree more. I have had such bugs find their way into production, and the problem is that it isn't found at build time, but at runtime, and results in a complete application failure. Or tons of try/catch code. It is better to have a messed up label than to fail at runtime (although logging a warning or error to the console seems entirely appropriate).
RIchard
On Aug 20, 2012, at 5:50 AM, Werner Lehmann wrote:
> Well, a simple localization typo can cause this. We usually don't have the resources (manpower :-) to test the whole application after localization. I'd rather have the customer see a wrong label text than a complete failure because the fx panel is gone, forcing us to provide an update ASAP.
>
> Werner
>
> On 20.08.2012 14:33, Greg Brown wrote:
>> This is a pretty easy exception to resolve. Why not just add the
>> missing key to your resource bundle?
More information about the openjfx-dev
mailing list