GNU bug report logs - #25679
26.0.50; Emacs hangs for nested generics

Previous Next

Packages: cc-mode, emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Fri, 10 Feb 2017 19:28:02 UTC

Severity: normal

Found in version 26.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 25679 <at> debbugs.gnu.org
Subject: bug#25679: 26.0.50; Emacs hangs for nested generics
Date: Fri, 05 Feb 2021 14:20:46 +0100
Philipp Stephani <p.stephani2 <at> gmail.com> writes:

> Create a file /tmp/Foo.java with the following content:
>
> class Foo {
>     void func(A<B<C>>> a, A<B<C>>> b, A<B<C>>> c, A<B<C>>> d, A<B<C>>> e, A<B<C>>> f, A<B<C>>> g, A<B<C>>> h, A<B<C>>> i, A<B<C>>> j, A<B<C>>> k) {}
> }
>
> Then open that file:
>
> emacs -Q /tmp/Foo.java
>
> Emacs hangs.  C-g also doesn't work.

I can reproduce this in Emacs 26.1, but not in Emacs 28, so I'm going to
guess that this has been fixed now, and I'm closing this bug report.  If
this problem is still present, please respond to the debbugs address and
we'll reopen.

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




This bug report was last modified 4 years and 109 days ago.

Previous Next


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