Bug 98088

Summary: [dom] Deprecation compiler problem not set in DOM/AST compilation unit
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Frederic Fusier CLA 2005-06-02 08:16:55 EDT
Using 3.1 RC1.

Consider following test case:
Test.java:
  public class Test {}
X.java:
  public class X {
    Test test;
  }

Of course, I get one compiler warning: "The type Test is deprecated".

I would expect to see this compiler problem in ASTView while opening it on
X.java compilation unit though compiler problem array is empty...
Comment 1 Philipe Mulet CLA 2005-06-02 10:53:34 EDT
I am not seeing any deprecation there.
Comment 2 Frederic Fusier CLA 2005-06-02 11:08:18 EDT
Sorry, I forgot the deprecated comment.
You should read:
Test.java:
  /** @deprecated */
  public class Test {}
Comment 3 Olivier Thomann CLA 2005-06-02 13:05:02 EDT

*** This bug has been marked as a duplicate of 95056 ***
Comment 4 Olivier Thomann CLA 2005-06-02 13:05:23 EDT
Problem was with @Deprecated not the javadoc tag.