Details
Description
It seems like String arguments to annotations containing escaped backslashes fail.
@Annotation("This could be a regex
d")
public void testTemplate() throws Exception {
JavaDocBuilder builder = new JavaDocBuilder();
String source = "public class Foo { @SuppressWarnings(
)\nprivate void bar() { } }";
builder.addSource( new StringReader(source) );
}
Issue Links
- is depended upon by
-
MPLUGIN-220 Can not use regex in @Parameter(defaultValue)
- is duplicated by
-
QDOX-230 Illegal escape character '|'
Activity
Robert Scholte
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Assignee | Robert Scholte [ rfscholte ] | |
Fix Version/s | 2.0 [ 15636 ] | |
Resolution | Fixed [ 1 ] |
Robert Scholte
made changes -
Robert Scholte
made changes -
Link |
This issue is depended upon by |
Robert Scholte
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Robert Scholte
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Fix Version/s | 1.12.1 [ 18944 ] | |
Resolution | Fixed [ 1 ] |
Robert Scholte
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Exception in thread "main" com.thoughtworks.qdox.parser.ParseException: Illegal escape character 'd' @[1,50] in UNKNOWN SOURCE
at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:1018)
at com.thoughtworks.qdox.parser.impl.Parser.convertString(Parser.java:1126)
at com.thoughtworks.qdox.parser.impl.Parser.toString(Parser.java:1233)
at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:1800)
at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:999)
at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:353)
at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:343)
at QDoxIllegalEscapeCharacter.main(QDoxIllegalEscapeCharacter.java:10)