Bug 1366 - Use String.format((Locale)null, "..." ..) avoiding Locale output for System related Operations
Summary: Use String.format((Locale)null, "..." ..) avoiding Locale output for System r...
Status: RESOLVED FIXED
Alias: None
Product: General
Classification: JogAmp
Component: source_code (show other bugs)
Version: 2.4.0
Hardware: All all
: P4 major
Assignee: Sven Gothel
URL:
Depends on:
Blocks: 1353
  Show dependency treegraph
 
Reported: 2019-03-30 05:57 CET by Sven Gothel
Modified: 2019-03-30 06:11 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
gluegen ecb65c39a6902158ed824348a23dbbcb42a85f01 jogl 31869130c3580a1a1c9e2f57e48d5712a3eebda1
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2019-03-30 05:57:43 CET
In case String.format(".." ..) is used, the current system Locale is applied to produce the resulting String.
This could possibly cause issues with file and pathnames, e.g. Chinese or Hindu numbers etc.

Replace such calls using a null Locale, i.e. String.format((Locale)null, "..."..)
Comment 1 Sven Gothel 2019-03-30 06:11:26 CET
Replaced GlueGen and some JOGL occurrences, the latter not that critical.