GNU bug report logs - #24671
java-mode confused by non-trivial generics

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Wed, 12 Oct 2016 00:25:02 UTC

Severity: normal

Tags: fixed

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 24671 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 24671 <at> debbugs.gnu.org
Subject: Re: bug#24671: java-mode confused by non-trivial generics
Date: Sat, 27 Jul 2019 16:01:48 +0200
Daniel Colascione <dancol <at> dancol.org> writes:

> For the following code
>
>     class Foo {
>         public List<Class<? extends Bar<? extends Qux>>> getBars() {
>             return null;
>         }
>     }
>
> I expect the `<' and `>' to be assigned paren syntax, but they are not. Emacs
> is latest master.

When I try this in Emacs 27, the < and > characters are fontied the same
way as the parentheses in the example, so I'm guessing that this has
been fixed and is closing this bug report.  If you're still seeing this
problem, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.