Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27639

Re: telling the javac that a method doesn't return at all...

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: telling the javac that a method doesn't return at all...
Date 2014-03-01 08:44 -0500
Organization A noiseless patient Spider
Message-ID <leso89$3jf$1@dont-email.me> (permalink)
References <slrnlh1gp1.g8j.avl@login.logic.tuwien.ac.at> <0u83h9hf47hrlhveqfmliik096366p7n89@4ax.com>

Show all headers | View raw


On 03/01/2014 04:10 AM, Roedy Green wrote:
> On Fri, 28 Feb 2014 17:10:57 +0000 (UTC), Andreas Leitgeb
> <avl@auth.logic.tuwien.ac.at> wrote, quoted or indirectly quoted
> someone who said :
>
>> Did I miss some annotation that already does this?
>> Is there anything like this already in the queue for
>>   future Java versions?
>
> It does not even notice that System.exit does not return, so I would
> not hold your breath for it being there already.

Huh. I've never had a look. Thanks.

<http://hg.openjdk.java.net/jdk7u/jdk7u60/jdk/file/3cd7a0321a83/src/share/classes/java/lang/Shutdown.java>
<http://hg.openjdk.java.net/jdk7u/jdk7u60/jdk/file/3cd7a0321a83/src/share/classes/java/lang/ref/Finalizer.java>

and associated.

>
> Perhaps the way to look at is to find a way to suppress the error
> message.
>

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

telling the javac that a method doesn't return at all... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-02-28 17:10 +0000
  Re: telling the javac that a method doesn't return at all... Lew <lewbloch@gmail.com> - 2014-02-28 16:13 -0800
    Re: telling the javac that a method doesn't return at all... Jeff Higgins <jeff@invalid.invalid> - 2014-03-01 09:12 -0500
      Re: telling the javac that a method doesn't return at all... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-05 13:06 +0000
  Re: telling the javac that a method doesn't return at all... Roedy Green <see_website@mindprod.com.invalid> - 2014-03-01 01:10 -0800
    Re: telling the javac that a method doesn't return at all... Jeff Higgins <jeff@invalid.invalid> - 2014-03-01 08:44 -0500
  Re: telling the javac that a method doesn't return at all... Arne Vajhøj <arne@vajhoej.dk> - 2014-03-01 22:02 -0500
    Re: telling the javac that a method doesn't return at all... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-05 13:31 +0000
      Re: telling the javac that a method doesn't return at all... Arne Vajhøj <arne@vajhoej.dk> - 2014-03-11 20:11 -0400
        Re: telling the javac that a method doesn't return at all... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-12 10:17 +0000
  Re: telling the javac that a method doesn't return at all... Mike Amling <mamling@chaff.us> - 2014-03-04 13:19 -0600
    Re: telling the javac that a method doesn't return at all... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-05 13:39 +0000
  Re: telling the javac that a method doesn't return at all... mike.s.schilling@gmail.com - 2014-03-04 19:30 -0800
    Re: telling the javac that a method doesn't return at all... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-09 14:33 +0000
  Re: telling the javac that a method doesn't return at all... Silvio <silvio@internet.com> - 2014-03-12 14:03 +0100
  Re: telling the javac that a method doesn't return at all... Michal Kleczek <michal_wytnijto@kleczek.org> - 2014-03-19 11:51 +0100
    Re: telling the javac that a method doesn't return at all... Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-19 12:28 +0000
      Re: telling the javac that a method doesn't return at all... Michal Kleczek <michal_wytnijto@kleczek.org> - 2014-03-23 11:15 +0100

csiph-web