Created attachment 428 [details] Valid IDL test case file, which causes the error condition to occur When an interface function has a struct out param with the same name as the struct's defining module an aliasing problem will occur in JacORB's output. In the interface function stub body JacORB will try to reference the struct's holder class in the module's java package. However, package name is aliased by the struct out parameter which has the same name in the IDL. This causes a cannot find symbol error when JacORB attempts to compile its own stubs to byte code. The error looks like this when the JacORB compile is invoked by idlj-maven-plugin. [ERROR] /jacorb_bug_test_case/target/generated-sources/test/moduleAlias/_ModuleAliasMgr_IStub.java:[37,36] error: cannot find symbol [ERROR] symbol: variable ModuleAlias_THelper [ERROR] location: variable moduleAlias of type ModuleAlias_THolder [ERROR] /jacorb_bug_test_case/target/generated-sources/test/moduleAlias/_ModuleAliasMgr_IStub.java:[51,24] error: cannot find symbol
Confirmed this bug affects all released version from 3.0 to 3.3 and also latest source built from master.
Escaped parameter argument if it clashes with an enclosing module. Fixed by SHA 51be20d7fcc8a601cfa4212a16a79a793602f899