Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.3
-
Fix Version/s: 1.10.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
We have been using qdox 1.1 for a while now, and in a desire to have support for Java generics we are attempting to upgrade to 1.6.3
However we are encountering a bug... consider this class:
/**
- @myTag name=TestClass attrs=Something1,Something2,Something3
*/
public class TestClassImpl {
}
before we would get the DocletTag for myTag and do a getParameters and it would give us a String array:
{"name=TestClass","attrs=Something1,Something2,Something3"}now the same thing gives us
{"name","=","TestClass","attrs","=","Something1",",","Something2",",","Something3"}ie it gets split up at all ='s and ,'s
I think this may have to due with this change: http://archive.qdox.codehaus.org/scm/20040531145056.11387.qmail%40codehaus.org
I am now starting to hack around this, but would much prefer to get this resolved.
Activity
Paul Hammant
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Upgrading breaks parsing of parameters | Upgrading breaks parsing of doclet tag parameters |
Paul Hammant
made changes -
Fix Version/s | 1.11 [ 15653 ] |
Robert Scholte
made changes -
Assignee | Robert Scholte [ rfscholte ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
I've updated LexerTest.java
it now has a test testQDOX134_MoreAnnotationTokens()
But also see the method above for an additional broken item in respect of doclet params.
Josh : is this still important to you? Or have you flipped your codebase to Java 5 ?