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


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

Re: about class dependancies

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: about class dependancies
Date 2015-12-03 19:49 -0500
Organization Aioe.org NNTP Server
Message-ID <n3qnug$7ch$1@speranza.aioe.org> (permalink)
References (1 earlier) <77dedcc2-f07c-4234-9b5c-22993b04c6d1@googlegroups.com> <565f9194$0$4565$426a74cc@news.free.fr> <final-20151203020451@ram.dialup.fu-berlin.de> <565f9a2e$0$3878$426a74cc@news.free.fr> <mt26jc-oi8.ln1@s.simpson148.btinternet.com>

Show all headers | View raw


On 12/3/2015 10:15 AM, Steven Simpson wrote:
> On 03/12/15 01:26, regis wrote:
>> (I would be interested if anyone knows other simple ways
>> to make A break with a change in B...)
>
> A calls B.f, but doesn't use the return value, and then B.f's return
> type changes.  Like the in-lined constant, A.java doesn't have to
> change, but it does have to be recompiled, because the return type is
> part of the method's identifier that A.class uses to refer to B.

But unlike the changed constant problem this should give a
runtime exception.

Arne

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


Thread

about class dependancies regis <regis.barbanchon@free.fr> - 2015-12-03 00:40 +0100
  Re: about class dependancies Lew <lewbloch@gmail.com> - 2015-12-02 16:32 -0800
    Re: about class dependancies regis <regis.barbanchon@free.fr> - 2015-12-03 01:49 +0100
      Re: about class dependancies regis <regis.barbanchon@free.fr> - 2015-12-03 02:26 +0100
        Re: about class dependancies Arne Vajhøj <arne@vajhoej.dk> - 2015-12-02 21:55 -0500
          Re: about class dependancies Arne Vajhøj <arne@vajhoej.dk> - 2015-12-02 21:58 -0500
        Re: about class dependancies Steven Simpson <ss@my.domain.invalid> - 2015-12-03 15:15 +0000
          Re: about class dependancies Arne Vajhøj <arne@vajhoej.dk> - 2015-12-03 19:49 -0500
      Re: about class dependancies Lew <lewbloch@gmail.com> - 2015-12-16 18:27 -0800
        Re: about class dependancies Steven Simpson <ss@my.domain.invalid> - 2015-12-17 08:39 +0000
          Re: about class dependancies Lew <lewbloch@gmail.com> - 2015-12-17 13:36 -0800
            Re: about class dependancies Mike Amling <mamling@chaff.us> - 2015-12-21 08:29 -0600
  Re: about class dependancies regis <regis.barbanchon@free.fr> - 2015-12-03 02:07 +0100
    Re: about class dependancies Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-12-03 08:06 -0500

csiph-web