[XDoclet-JIRA] Created: (XJD-75) while parsing a Java file having annotation which takes a java string array
"Rabi c Dora (JIRA)" <[email protected]> Tue, 13 Mar 2007 04:49:29 -0500 (CDT)
| Newsgroups | gmane.comp.java.xdoclet.devel |
|---|---|
| Message-ID | <166430145.1173779369424.JavaMail.j2ee@atlassian01.managed.contegix.com> |
while parsing a Java file having annotation which takes a java string array
----------------------------------------------------------------------------
Key: XJD-75
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-75
Project: XJavaDoc
Type: Bug
Components: Parser
Versions: 1.5
Reporter: Rabi c Dora
Assigned to: xdoclet-devel (Use for new issues)
while parsing a Java file having annotation which takes a java string array as argument like this
@JmxMethod(description = "Stop the PE", paramDescriptions = { }, paramNames = { })
it gives the following error
[dssgen] Error parsing File D:\AvayaInc\CS\dss\sdk\examples\basic\src\java\com\avaya\coreservice\dss\basic\BasicImpl.java:Parse error at line 125, column 65. Encountered: }
It expects quotes at that position, after changing like the following the error goes away,
@JmxMethod(description = "Stop the PE", paramDescriptions = {"" }, paramNames = { ""})
But it create other issue like parsing of that function(having annotation) get ignore and the implementation of that annotation
(@JmxMethod) gives error.
we believe the xdoclet is not able to parse properly the annotation which takes a string array with only empty brackets (empty array). This should to be fixed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV