Bug 1366

Summary: Use String.format((Locale)null, "..." ..) avoiding Locale output for System related Operations
Product: [JogAmp] General Reporter: Sven Gothel <sgothel>
Component: source_codeAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: major    
Priority: P4    
Version: 2.4.0   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
gluegen ecb65c39a6902158ed824348a23dbbcb42a85f01 jogl 31869130c3580a1a1c9e2f57e48d5712a3eebda1
Workaround: ---
Bug Depends on:    
Bug Blocks: 1353    

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.