From: SourceForge.net <no...@so...> - 2009-06-24 14:03:27
|
Bugs item #2811553, was opened at 2009-06-24 14:03 Message generated for change (Tracker Item Submitted) made by petur1 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720015&aid=2811553&group_id=130558 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Pétur Runólfsson (petur1) Assigned to: Nobody/Anonymous (nobody) Summary: ParseException on deprecated constant in interface Initial Comment: If an interface contains a constant marked with the @Deprecated annotation, the following appears in the output for the cobertura-report task: [cobertura-report] Cobertura 1.9.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Loaded information on 2 classes. [cobertura-report] Javancss.<init>(InputStream).e: net.sourceforge.cobertura.javancss.ParseException: Encountered "public static final String TWO =" at line 3, column 1. [cobertura-report] Was expecting one of: [cobertura-report] "assert" ... [cobertura-report] "boolean" ... [cobertura-report] "byte" ... [cobertura-report] "char" ... [cobertura-report] "double" ... [cobertura-report] "enum" ... [cobertura-report] "float" ... [cobertura-report] "int" ... [cobertura-report] "long" ... [cobertura-report] "short" ... [cobertura-report] <IDENTIFIER> ... [cobertura-report] "@" ... [cobertura-report] "." ... [cobertura-report] "(" ... [cobertura-report] "public" "public" ... [cobertura-report] "public" "static" "public" ... [cobertura-report] "public" "static" "static" ... [cobertura-report] "public" "static" "protected" ... [cobertura-report] "public" "static" "private" ... [cobertura-report] "public" "static" "final" "public" ... [cobertura-report] "public" "static" "final" "static" ... [cobertura-report] "public" "static" "final" "protected" ... [cobertura-report] "public" "static" "final" "private" ... [cobertura-report] "public" "static" "final" "final" ... [cobertura-report] "public" "static" "final" "abstract" ... [cobertura-report] "public" "static" "final" "synchronized" ... [cobertura-report] "public" "static" "final" "native" ... [cobertura-report] "public" "static" "final" "transient" ... [cobertura-report] "public" "static" "final" "volatile" ... [cobertura-report] "public" "static" "final" "strictfp" ... [cobertura-report] "public" "static" "final" "@" ... [cobertura-report] "public" "static" "final" "enum" ... [cobertura-report] "public" "protected" ... [cobertura-report] "public" "private" ... [cobertura-report] "public" "static" "abstract" ... [cobertura-report] "public" "static" "final" "<" ... [cobertura-report] "public" "static" "final" "void" ... [cobertura-report] "public" "static" "final" "boolean" ... [cobertura-report] "public" "static" "final" "char" ... [cobertura-report] "public" "static" "final" "byte" ... [cobertura-report] "public" "static" "final" "short" ... [cobertura-report] "public" "static" "final" "int" ... [cobertura-report] "public" "static" "final" "long" ... [cobertura-report] "public" "static" "final" "float" ... [cobertura-report] "public" "static" "final" "double" ... [cobertura-report] "public" "static" "final" <IDENTIFIER> "." ... [cobertura-report] "public" "static" "final" <IDENTIFIER> "<" ... [cobertura-report] "public" "static" "final" <IDENTIFIER> "[" ... [cobertura-report] "public" "static" "final" <IDENTIFIER> <IDENTIFIER> "(" ... [cobertura-report] [cobertura-report] WARN getAccumlatedCCNForSource, JavaNCSS got an error while parsing the java file /home/petur/Sandbox/Cobertura/parse/src/Iface.java [cobertura-report] ParseException in STDIN [cobertura-report] Last useful checkpoint: "Iface" [cobertura-report] Encountered "public static final String TWO =" at line 3, column 1. [cobertura-report] Was expecting one of: [cobertura-report] "assert" ... [cobertura-report] "boolean" ... [cobertura-report] "byte" ... [cobertura-report] "char" ... [cobertura-report] "double" ... [cobertura-report] "enum" ... [cobertura-report] "float" ... [cobertura-report] "int" ... [cobertura-report] "long" ... [cobertura-report] "short" ... [cobertura-report] <IDENTIFIER> ... [cobertura-report] "@" ... [cobertura-report] "." ... [cobertura-report] "(" ... [cobertura-report] "public" "public" ... [cobertura-report] "public" "static" "public" ... [cobertura-report] "public" "static" "static" ... [cobertura-report] "public" "static" "protected" ... [cobertura-report] "public" "static" "private" ... [cobertura-report] "public" "static" "final" "public" ... [cobertura-report] "public" "static" "final" "static" ... [cobertura-report] "public" "static" "final" "protected" ... [cobertura-report] "public" "static" "final" "private" ... [cobertura-report] "public" "static" "final" "final" ... [cobertura-report] "public" "static" "final" "abstract" ... [cobertura-report] "public" "static" "final" "synchronized" ... [cobertura-report] "public" "static" "final" "native" ... [cobertura-report] "public" "static" "final" "transient" ... [cobertura-report] "public" "static" "final" "volatile" ... [cobertura-report] "public" "static" "final" "strictfp" ... [cobertura-report] "public" "static" "final" "@" ... [cobertura-report] "public" "static" "final" "enum" ... [cobertura-report] "public" "protected" ... [cobertura-report] "public" "private" ... [cobertura-report] "public" "static" "abstract" ... [cobertura-report] "public" "static" "final" "<" ... [cobertura-report] "public" "static" "final" "void" ... [cobertura-report] "public" "static" "final" "boolean" ... [cobertura-report] "public" "static" "final" "char" ... [cobertura-report] "public" "static" "final" "byte" ... [cobertura-report] "public" "static" "final" "short" ... [cobertura-report] "public" "static" "final" "int" ... [cobertura-report] "public" "static" "final" "long" ... [cobertura-report] "public" "static" "final" "float" ... [cobertura-report] "public" "static" "final" "double" ... [cobertura-report] "public" "static" "final" <IDENTIFIER> "." ... [cobertura-report] "public" "static" "final" <IDENTIFIER> "<" ... [cobertura-report] "public" "static" "final" <IDENTIFIER> "[" ... [cobertura-report] "public" "static" "final" <IDENTIFIER> <IDENTIFIER> "(" ... [cobertura-report] [cobertura-report] [cobertura-report] Report time: 192ms ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720015&aid=2811553&group_id=130558 |