Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 32.53
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
JavaNCSS fails to parse instantiation of new inner class using "this.new" syntax. This used to work with the version that shipped with beta-2 maven plugin.
Example:
this.new ListWrapper(context));
Error:
Embedded error: Error while JavaNCSS was executing
Encountered " "new" "new "" at line 44, column 46.
Was expecting one of:
"assert" ...
"instanceof" ...
<IDENTIFIER> ...
")" ...
"," ...
">" ...
"<" ...
"?" ...
"==" ...
"<=" ...
">=" ...
"!=" ...
"||" ...
"&&" ...
"++" ...
"--" ...
"+" ...
"-" ...
"*" ...
"/" ...
"&" ...
"|" ...
"^" ...
"%" ...
<IDENTIFIER> ...
"assert" ...
">" ...
can you attach a sample code, which Javancss parses beforethe new version?