Skip to content
Advertisement

Tag: data-distribution-service

Why doesn’t IDLJ generate real enums?

I’ve defined a IDL which I am compiling via IDLJ.exe. The IDL contains various different enum types. I notice that after code generation into .java source files the enum types are not actually enums but just regular classes with a set of final constants of the same type of the class. I notice multiple different IDL code generators do this

Advertisement