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


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

Re: method parameter binding

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: method parameter binding
Date Thu, 10 Dec 2015 17:09:48 -0500
Organization A noiseless patient Spider
Lines 26
Message-ID <n4ct2s$blh$1@dont-email.me> (permalink)
References <6bfa4a78-934e-4f90-8e5f-a2f56e529842@googlegroups.com> <n4cr4k$pqk$1@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 10 Dec 2015 22:07:24 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="858a9d65d95f4ea4d355bd116aa2cdbf"; logging-data="11953"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ND7ZGRfsssPtogjbriPxz"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
In-Reply-To <n4cr4k$pqk$1@news.albasani.net>
Cancel-Lock sha1:AbcSSMnx5noNDhHdU4PiFSc06Mg=
Xref csiph.com comp.lang.java.programmer:33345

Show key headers only | View raw


On 12/10/2015 4:34 PM, Jan Burse wrote:
> Hi,
>
> BTW: Situation changes totally when the argument types
> are primitive types, since then the specificity rules are
> different and widening applies, I guess.
> [...]

     Unless I've missed something, nobody has yet been able to reproduce
the problem you originally reported:

     - Eric Douglas tried it got the unsurprising result, but his use
       of `static' may have confused things (I think it's a red herring,
       but even so ...),

     - Jan Burse tried it and got the unsurprising result,

     - I tried it and got the unsurprising result.

     Only your reported result was surprising -- and it would be well
to understand why that is so before you go looking for dark corners in
the specificity rules.

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

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


Thread

method parameter binding Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2015-12-10 07:44 -0800
  Re: method parameter binding Eric Douglas <e.d.programmer@gmail.com> - 2015-12-10 07:53 -0800
    Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:14 +0100
      Re: method parameter binding Eric Douglas <e.d.programmer@gmail.com> - 2015-12-10 08:20 -0800
        Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:23 +0100
          Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:23 +0100
      Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:21 +0100
        Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:27 +0100
          Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:28 +0100
            Re: method parameter binding Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-12-10 11:35 -0500
              Re: method parameter binding Martin Gregorie <martin@address-in-sig.invalid> - 2015-12-10 18:00 +0000
          Re: method parameter binding Eric Douglas <e.d.programmer@gmail.com> - 2015-12-10 08:41 -0800
            Re: method parameter binding j4n bur53 <janburse@fastmail.fm> - 2015-12-10 19:29 +0100
  Re: method parameter binding Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-12-10 11:33 -0500
  Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 22:34 +0100
    Re: method parameter binding Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-12-10 17:09 -0500
      Re: method parameter binding j4n bur53 <janburse@fastmail.fm> - 2015-12-11 09:27 +0100

csiph-web