javadoc complains about assert keyword
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Keith_Bannister
Posted On:   Wednesday, May 22, 2002 05:16 PM

I've got 1.4 source (e.g. with assert keyword). I notice I can set source="1.4" in the javadoc process, but I can't do the same with javadoc. I get the following errors, anyway: [javadoc] /home/keith/thesis/TelescopeAutomation/jas/source/jas/impl/AbstractProcess.java:53: ';' expected [javadoc] assert e != null && newState == ProcessState.FINISHED : [javadoc] ^ [javadoc] /home/keith/thesis/TelescopeAutomation/jas/source/jas/impl/AbstractProcess.java:96: ';' expected [javadoc] assert evt != null : "ProcessEventType not set when changing state from " + [javadoc] ^ [javadoc] 3 errors [javad   More>>

I've got 1.4 source (e.g. with assert keyword). I notice I can set source="1.4" in the javadoc process, but I can't do the same with javadoc.


I get the following errors, anyway:




[javadoc] /home/keith/thesis/TelescopeAutomation/jas/source/jas/impl/AbstractProcess.java:53: ';' expected
[javadoc] assert e != null && newState == ProcessState.FINISHED :
[javadoc] ^
[javadoc] /home/keith/thesis/TelescopeAutomation/jas/source/jas/impl/AbstractProcess.java:96: ';' expected
[javadoc] assert evt != null : "ProcessEventType not set when changing state from " +
[javadoc] ^
[javadoc] 3 errors
[javadoc] /home/keith/thesis/TelescopeAutomation/jas/source/jas/impl/AbstractProcess.java:99: ';' expected
[javadoc] 3 warnings
[javadoc] assert s != newState : "State not changed from " + s;
[javadoc]

   <<Less

Re: javadoc complains about assert keyword

Posted By:   Keith_Bannister  
Posted On:   Wednesday, May 22, 2002 05:19 PM

Well I fell stupid.

I put the folllowing attriubute in the javadoc command

additionalparam="-source 1.4" and it worked fine.
About | Sitemap | Contact