This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: Another deprecation fix
- From: Andrew Haley <aph at redhat dot com>
- To: tromey at redhat dot com
- Cc: GCC libjava patches <java-patches at gcc dot gnu dot org>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Mar 2003 08:58:50 +0000 (GMT)
- Subject: Patch: Another deprecation fix
- References: <87ptoh6fjw.fsf@fleche.redhat.com>
Tom Tromey writes:
> Today I discovered that the @deprecated tag doesn't take effect on an
> interface. For instance, see java.security.Certificate.
>
> The appended patch fixes the problem. Ok for trunk?
>
> Tom
>
> Index: gcc/java/ChangeLog
> from Tom Tromey <tromey at redhat dot com>
>
> * parse.y (create_interface): Call CHECK_DEPRECATED.
Uh, yeah. This is IMO in the "obvious" category and doesn't need approval.
Andrew.