Bug 98088 - [dom] Deprecation compiler problem not set in DOM/AST compilation unit
Summary: [dom] Deprecation compiler problem not set in DOM/AST compilation unit
Status: RESOLVED DUPLICATE of bug 95056
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 08:16 EDT by Frederic Fusier CLA
Modified: 2005-06-02 13:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.