Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: Parser
-
Labels:None
-
Environment:Windows XP Pro SP2, Java 1.5_0_7
-
Number of attachments :
Description
An annotated method parameter can be compiled by JDK1.5, but XDoclet2 with QDox1.6 generates:
a com.thoughtworks.qdox.parser.ParseException: syntax error @[9,27] in file:/C:/MyProj/src/com/cnn/MyMethodAnnotation.java
---------------Source Code---------------------
package com.cnn;
import org.jetbrains.annotations.NotNull;
public class MyMethodAnnotation
{
String dummy;
public void setDummy( @NotNull String dummy )
{ this.dummy = dummy; }}
Activity
Frederick N. Brier
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | MethodParmAnnotation.patch [ 22558 ] |
Paul Hammant
made changes -
Assignee | Paul Hammant [ paul ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
Patch file for fixing the reported bug. Includes additional method in AnnotationsTest.java to replicate the bug and the change to parser.y to fix the problem.