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


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

Re: multiple inheritance in Java

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: multiple inheritance in Java
Date Tue, 02 Jul 2013 16:28:17 -0400
Organization A noiseless patient Spider
Lines 46
Message-ID <kqvcng$2fn$1@dont-email.me> (permalink)
References <multiple-inheritance-20130702021857@ram.dialup.fu-berlin.de> <kqtbe7$mth$1@dont-email.me> <multiple-inheritence-20130702041514@ram.dialup.fu-berlin.de> <kqtjfn$uf0$1@dont-email.me> <kqv1ig$us3$1@dont-email.me> <kqv30m$7sg$1@dont-email.me> <kqv5oi$npg$1@dont-email.me> <kqva89$j5o$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 2 Jul 2013 20:21:04 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="2551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pPPgLknJ22th98mbEgJ9zPtw3VczGZyM="
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130529 Icedove/17.0.5
In-Reply-To <kqva89$j5o$1@dont-email.me>
Cancel-Lock sha1:NN8LBYG2YGkYsRky1vtRye3LrF8=
Xref csiph.com comp.lang.java.programmer:24600

Show key headers only | View raw


On 07/02/2013 03:44 PM, Eric Sosman wrote:
> On 7/2/2013 2:29 PM, Jeff Higgins wrote:
>> On 07/02/2013 01:40 PM, Eric Sosman wrote:
>>> On 7/2/2013 1:17 PM, Jeff Higgins wrote:
>>>> On 07/02/2013 12:09 AM, Eric Sosman wrote:
>>>>>      Okay.  It might have been clearer if you'd chosen names that
>>>>> weren't already taken -- although, one must admit, that's not easy
>>>>> to do with Java's ever-growing namespace bloat.  (Factoid: The HTML
>>>>> *index* for the 7.0 API occupies eighteen meg!)
>>>>>
>>>>
>>>> Java never throws anything away. I wonder about a compatibility layer.
>>>> rt.jar would contain all of the current stuff, rtc.jar the old.
>>>
>>>      Not sure what the separation would accomplish.  All the
>>> package names would remain unchanged, all the class and method
>>> and field names would remain unchanged, the JavaDoc would still
>>> have to describe them all, and the JVM would need to open one
>>> more file than it already does.
>>
>> If someone wanted to expend the effort to do the pruning
>> the following would compile with the compatibility switch on
>> otherwise throw ClassNotFoundException.
>>
>> Vector<String> v;
>> JList<String> l = new JList<String>(v);
>>
>> I could download JDK9 or JDK9C, I guess only JDK9C compiler
>> would include the -compatibility switch.
>
>      Oh, now I get it.  I hadn't realized that you meant the
> "compatibility layer" to be unavailable unless specifically
> requested.  But I think that's a non-starter: Look at all the
> "current" classes that still use "old" stuff.  Vector, to take
> your example, is required by the Swing classes ButtonGroup,
> DefaultComboBoxModel, JComboBox, JList, JTable, and JTree,
> and perhaps others.  (Wisecracks about moving all of Swing to
> "old" will be punished with great severity. :)
>
Known uses of Vector:
<http://docs.oracle.com/javase/7/docs/api/java/util/class-use/Vector.html>
I don't mean to suggest throwing the baby out with the bath water.
We could have a new 'old' API sans the grime, but
I guess it's a "non-starter" because noone wants to pay the price
for a cleaner Java Standard Library.

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


Thread

Re: multiple inheritance in Java Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-07-01 21:52 -0400
  Re: multiple inheritance in Java Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-07-02 00:09 -0400
    Re: multiple inheritance in Java Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-07-02 08:13 -0400
      Re: multiple inheritance in Java Arne Vajhøj <arne@vajhoej.dk> - 2013-07-04 17:33 -0400
        Re: multiple inheritance in Java Sebastian <news@seyweiler.dyndns.org> - 2013-07-05 08:04 +0200
    Re: multiple inheritance in Java Jeff Higgins <jeff@invalid.invalid> - 2013-07-02 13:17 -0400
      Re: multiple inheritance in Java Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-07-02 13:40 -0400
        Re: multiple inheritance in Java Jeff Higgins <jeff@invalid.invalid> - 2013-07-02 14:29 -0400
          Re: multiple inheritance in Java Jeff Higgins <jeff@invalid.invalid> - 2013-07-02 15:12 -0400
            Re: multiple inheritance in Java Arne Vajhøj <arne@vajhoej.dk> - 2013-07-04 17:23 -0400
              Re: multiple inheritance in Java Arne Vajhøj <arne@vajhoej.dk> - 2013-07-04 17:25 -0400
          Re: multiple inheritance in Java Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-07-02 15:44 -0400
            Re: multiple inheritance in Java Jeff Higgins <jeff@invalid.invalid> - 2013-07-02 16:28 -0400
              Re: multiple inheritance in Java Jeff Higgins <jeff@invalid.invalid> - 2013-07-02 16:44 -0400
              Re: multiple inheritance in Java Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-07-02 17:13 -0400
                Re: multiple inheritance in Java Jeff Higgins <jeff@invalid.invalid> - 2013-07-02 22:12 -0400
  Re: multiple inheritance in Java Lew <lewbloch@gmail.com> - 2013-07-02 11:53 -0700
    Re: multiple inheritance in Java Steven Simpson <ss@domain.invalid> - 2013-07-03 10:46 +0100
      Re: multiple inheritance in Java lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-07-03 13:01 +0100
        Re: multiple inheritance in Java Steven Simpson <ss@domain.invalid> - 2013-07-03 14:12 +0100
          Re: multiple inheritance in Java lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-07-03 14:49 +0100
        Re: multiple inheritance in Java Arne Vajhøj <arne@vajhoej.dk> - 2013-07-06 22:19 -0400
  Re: multiple inheritance in Java Arne Vajhøj <arne@vajhoej.dk> - 2013-07-04 17:36 -0400
    Re: multiple inheritance in Java Gene Wirchenko <genew@telus.net> - 2013-07-05 11:01 -0700

csiph-web