Bug 198466 - [DataBinding] UpdateStrategy ignores the user's Locale
Summary: [DataBinding] UpdateStrategy ignores the user's Locale
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 20:29 EDT by Brad Reynolds CLA
Modified: 2019-09-06 16:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Reynolds CLA 2007-07-31 20:29:34 EDT
UpdateStrategy constructs and then caches a NumberFormat at the class level.  In environments where multiple users are on the same VM and classloader the Locale could be incorrect for users.
Comment 1 Matt Carter CLA 2007-08-01 15:53:16 EDT
(In reply to comment #0)
> UpdateStrategy constructs and then caches a NumberFormat at the class level. 
> In environments where multiple users are on the same VM and classloader the
> Locale could be incorrect for users.

To resolve this we need a root context object.
Are we willing to have such an object?
Comment 2 Brad Reynolds CLA 2007-08-01 16:51:34 EDT
(In reply to comment #1)
> To resolve this we need a root context object.

I'm not sure I follow...  

The way that I was thinking of fixing this was to just create a new formatter retrieving the Locale for every invocation.  We could cache formatters per Locale if necessary.

Comment 3 Eclipse Webmaster CLA 2019-09-06 16:08:07 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.