Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 122065 Details for
Bug 214948
Incorrect deprecation warning on annotation instances
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Trace dumper patch
tracepatch.txt (text/plain), 1.39 KB, created by
Srikanth Sankaran
on 2009-01-09 00:34:55 EST
(
hide
)
Description:
Trace dumper patch
Filename:
MIME Type:
Creator:
Srikanth Sankaran
Created:
2009-01-09 00:34:55 EST
Size:
1.39 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java,v >retrieving revision 1.97 >diff -u -r1.97 ASTNode.java >--- compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java 8 Jan 2009 20:51:05 -0000 1.97 >+++ compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java 9 Jan 2009 05:31:55 -0000 >@@ -465,9 +465,19 @@ > > // force annotations resolution before deciding whether the type may be deprecated > refType.initializeDeprecatedAnnotationTagBits(); >- >- if (!refType.isViewedAsDeprecated()) return false; >- >+ >+ char [][] name = refType.compoundName; >+ char [][] qSA = new char [][] { "question".toCharArray(), "SimpleAnnotation".toCharArray() }; //$NON-NLS-1$ //$NON-NLS-2$ >+ if (!refType.isViewedAsDeprecated()) { >+ if (CharOperation.equals(name, qSA)) { >+ System.err.println ("BAD: question.SimpleAnnotaion is NOT viewed as deprecated !"); //$NON-NLS-1$ >+ } >+ return false; >+ } >+ if (CharOperation.equals(name, qSA)) { >+ System.err.println ("GOOD: question.SimpleAnnotaion is viewed as deprecated !"); //$NON-NLS-1$ >+ } >+ > // inside same unit - no report > if (scope.isDefinedInSameUnit(refType)) return false; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214948
:
86597
|
121836
|
121875
|
121950
|
122006
| 122065 |
122138
|
122149
|
122306