From: SourceForge.net <no...@so...> - 2011-06-24 09:42:56
|
Bugs item #3327154, was opened at 2011-06-24 09:42 Message generated for change (Tracker Item Submitted) made by jmiguelsamper You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720015&aid=3327154&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: Jose Miguel Samper (jmiguelsamper) Assigned to: Nobody/Anonymous (nobody) Summary: Error with Java 7 diamond operator Initial Comment: Java 7 diamond operator, i.e., List<String> list = new ArrayList<>(); is not recognized by Cobertura, throwing the following exception: net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " ">" "> "" at line 19, column 68. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... "?" ... "?" ... "?" ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720015&aid=3327154&group_id=130558 |