[
http://jira.codehaus.org/browse/MJNCSS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MJNCSS-11.
-------------------------------
Assignee: Herve Boutemy (was: Jean-Laurent de Morlhon)
Resolution: Fixed
I just added a test in IT to check that there is no plroblem now: see
[r9757|http://fisheye.codehaus.org/changelog/mojo/trunk?cs=9757]
> JavaNCSS report crashes if code contains some variable called "enum"
> --------------------------------------------------------------------
>
> Key: MJNCSS-11
> URL: http://jira.codehaus.org/browse/MJNCSS-11
> Project: Maven 2.x JavaNCSS Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-2
> Environment: Pass OK with 2.0-beta-1
> JavaNCSS 28.49 pass OK when launched with JavaNCSS GUI
> Reporter: Francois Loison
> Assignee: Herve Boutemy
> Fix For: 2.0-beta-3
>
>
> Code tested contains:
> Enumeration enum = values.elements();
> while (enum.hasMoreElements())
> {
> String value = (String) enum.nextElement();
> System.out.println(" " + value);
> }
> Crash output as following:
> Embedded error: Error rendering Maven report: Error while JavaNCSS was
> executing
> Encountered "enum" at line 165, column 49.
> Was expecting one of:
> "instanceof" ...
> ";" ...
> "," ...
> ">" ...
> etc...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email