You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java 9 introduced additional attributes String since and boolean forRemoval to the Deprecated annotation.
However, using these attributes in our code leads to a GWT compilation error:
@Deprecated( since = "2017-11-13" ) // -> [ERROR] Line 383: The attribute since is undefined for the annotation type Deprecated
public void foo() {
[...]
}
Setting -sourceLevel 17 does not prevent this.
It would be nice if this could be supported at some point. At the very least when support for Java 8 is dropped at some point.
The text was updated successfully, but these errors were encountered:
I believe it should actually be even easier than this now, since #10020 was finally reported (in open source... was reported years ago inside of goog) and fixed - we should just be able to delete Deprecated.java and others, and pick up bytecode from the classpath.
Java 9 introduced additional attributes
String since
andboolean forRemoval
to theDeprecated
annotation.However, using these attributes in our code leads to a GWT compilation error:
Setting
-sourceLevel 17
does not prevent this.It would be nice if this could be supported at some point. At the very least when support for Java 8 is dropped at some point.
The text was updated successfully, but these errors were encountered: