Illegal escape character
------------------------
Key: QDOX-218
URL: http://jira.codehaus.org/browse/QDOX-218
Project: QDox
Issue Type: Bug
Components: Parser
Affects Versions: 1.12
Reporter: P Boon
Attachments: QDoxIllegalEscapeCharacter.java
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({\"a\",
\"abc\\d\"})\nprivate void bar() { } }";
builder.addSource( new StringReader(source) );
}
--
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