Details
Description
Hi
QDox (1.6 snapshot + 1.4 + 1.5) reports a wrong parameter type in such a case:
package some.pack;
class Test {
void some(Inner.Inner2 a) {}
static interface Inner {
static interface Inner2 { }
}
}
In such a case the argument of method "some" is reported to be of type
"Inner.Inner2" ie the package information is simply lost.
method.parameters[0].type.getJavaClass().getFullyQualifiedName()
---> Inner.Inner2 instead of some.pack.Test$Inner$Inner2
---------
Joe said: "Looks like a bug in ModelBuilder. Could you raise a Jira issue."
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7 [ 11160 ] | |
Fix Version/s | 1.6 [ 10814 ] |
Paul Hammant
made changes -
Fix Version/s | 1.8 [ 14826 ] | |
Fix Version/s | 1.7 [ 11160 ] |
Robert Scholte
made changes -
Attachment | qdox-86.patch [ 39533 ] |
Paul Hammant
made changes -
Assignee | Robert Scholte [ rfscholte ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
Hello,
I'm using Commons Attributes cvs head and this is using QDox. Now I have exactly this problem and I'd like to fix it but I can't check out QDox from cvs correctly because on one package there is a lock:
cvs server: Updating java/com/thoughtworks/qdox/model/util
cvs server: failed to create lock directory for `/home/projects/qdox/scm/qdox/src/java/com/thoughtworks/qdox/model/util' (/home/projects/qdox/haus.d/lock/cvs/qdox/src/java/com/thoughtworks/qdox/model/util/#cvs.lock): Permission denied
cvs server: failed to obtain dir lock in repository `/home/projects/qdox/scm/qdox/src/java/com/thoughtworks/qdox/model/util'
cvs [server aborted]: read lock failed - giving up
Is someone fixing this problem at the moment?
How can I help to fix this?
Cheers,
Martin