[QFJ-528] Message generator doesn't sanitize value descriptions before using them as identifiers. Created: 27/May/10  Updated: 27/May/10

Status: Open
Project: QuickFIX/J
Component/s: Message Generation
Affects Version/s: 1.4.0
Fix Version/s: None

Type: Bug Priority: Default
Reporter: Serkan Kaba Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Windows 7 ıIBM JDK6



 Description   

Message generator uses enum value descriptions as constant names but doesn't sanitize them before using them as identifiers. Since the value is a free format string the generator produces invalid/uncompilable code.

I think the description tag value should be sanitized as a valid Java identifier before it's used.

Thanks in advance.

Serkan KABA


Generated at Sat Nov 23 07:34:16 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.