Bug 413350 - ajdoc fails with syntax errors due to missing semicolon in generated java file
Summary: ajdoc fails with syntax errors due to missing semicolon in generated java file
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: AJDoc (show other bugs)
Version: 1.7.2   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 14:24 EDT by Matthew Adams CLA
Modified: 2013-07-19 14:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Adams CLA 2013-07-19 14:24:12 EDT
Running ajdoc on a multimodule project that compiles successfully is producing errors:

Loading source file /Users/matthew/Documents/foundation/foundation/docs/target/ajdocworkingdir/com/scispike/foundation/domain/trait/mutability/ImmutableAspect.java...
/Users/matthew/Documents/foundation/foundation/docs/target/ajdocworkingdir/com/scispike/foundation/domain/trait/mutability/ImmutableAspect.java:12: error: ';' expected
void ajc$declare_teow_2()/**__AJDECLID:515:__


I looked at the generated java source file in ajdocworkingdir, which indeed is missing semicolons:

package com.scispike.foundation.domain.trait.mutability;
/**__AJDECLID:512:__
 * 
 */
public class  ImmutableAspect { 
/**__AJDECLID:513:__
 * 
 */
/**__AJDECLID:514:__
 * 
 */
void ajc$declare_teow_2()/**__AJDECLID:515:__
 * 
 */
void ajc$declare_teow_3()/**__AJDECLID:516:__
 * 
 */
void ajc$declare_teow_4()
}

Sending repro steps to Andy Clement.