I have a class w/ a couple of static JSNI methods referencing itself.
I deprecated the class, but when the GWT compiler comes across my
static JSNI method in the deprecated class, it shoots out a warning
saying I am referencing a deprecated class like so:

      [WARN] Warnings in 'file:/C:/dir/src/package/ClassFile.java'
         [WARN] Line 42: Referencing deprecated class
'package.ClassFile'

This should be consistent with Java and not give a deprecation warning
if it's referencing itself. This can be worked around w/ a
@SuppressWarnings("deprecation"), but Eclipse doesn't like that. Only
workaround for now is to add @Deprecated to the JSNI methods. This
prolly isn't worth a bug entry, just posting here for anyone else
needing to know.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to